Showing posts with label tag. Show all posts
Showing posts with label tag. Show all posts

Saturday, March 31, 2012

Table. Look Everywhere. Please help me out.

Hello,

I need to create a Table at runtime and I need the TBody tag to be:

<tbody id="itemContainer" runat="server"></tbody>

I need to to define its ID and making it run at server.

I tried everthing I could think of.

How can I do this?

Thanks,

Miguel

you can use a placeholder and do a placeholder.controls.add(pass the tablehere, table is your server object)


You didn't understand. I have no problems in working at runtime.

I create everything at runtime. The problem is that I can't find a property/way to define the ID of a Table's TBody tag when created at runtime.

Thanks,

Miguel


Hi Miguel,

Based on my understanding, you want to add the table in your asp.net application dynamically. If I have misunderstood you, please feel free to let me know.

The tbody is the html control. We can add the server table dynamically. For example,

Table t = new Table();
t.ID = "t";
TableHeaderRow hr = new TableHeaderRow();
hr.ID = "hr";
t.Controls.Add(hr);
TableCell tc = new TableCell();
tc.ID = "tc";
hr.Controls.Add(tc);
tc.Text = "test";

form1.Controls.Add(t);


I hope this helps.


publicvoid CreateEmployeeList()

{

System.Web.UI.WebControls.Table Tab =new System.Web.UI.WebControls.Table();

Tab.BorderWidth =newUnit(3);

Tab.BorderColor = System.Drawing.Color.AliceBlue;

Tab.CellPadding = 1;

//Tab.CellSpacing = 1;

TableRow Tr =newTableRow();

TableCell Tc1 =newTableCell();

TableCell Tc2 =newTableCell();

TableCell Tc3 =newTableCell();

TableCell Tc4 =newTableCell();

Label label4 =newLabel();

label4.ID ="label4";

label4.Text ="Employee ID";

Tc4.Controls.Add(label4);

Tr.Cells.Add(Tc4);

Label label1 =newLabel();

label1.ID ="label1";

label1.Text ="Employee";

Tc1.Controls.Add(label1);

Tr.Cells.Add(Tc1);

Label label2 =newLabel();

label2.ID ="label2";

label2.Text ="Attendance";

Tc2.Controls.Add(label2);

Tr.Cells.Add(Tc2);

Label label3 =newLabel();

label3.ID ="label3";

label3.Text ="Remark";

Tc3.Controls.Add(label3);

Tr.Cells.Add(Tc3);

Tab.Rows.Add(Tr);

Tr.BackColor = System.Drawing.Color.AliceBlue;

EmployeeList =EmployeeReg.SelectStaff();

EmployeeReg empreg;

EmployeeNo = EmployeeList.Count;

Empid =newLabel[EmployeeList.Count];

Empname =newLabel[EmployeeList.Count];

Attendance =newRadioButtonList[EmployeeList.Count];

Remark =newTextBox[EmployeeList.Count];

for (int i = 0; i < EmployeeList.Count; i++)

{

empreg =newEmployeeReg();

empreg = EmployeeList[i];

//initialize table row

Tr =newTableRow();

//initialize columns in particular row

Tc1 =newTableCell();

Tc2 =newTableCell();

Tc3 =newTableCell();

Tc4 =newTableCell();

//Generating Employee ID in table.

Label Lbl2 =newLabel();

Lbl2.ID ="lblEmpid" + i.ToString();

Lbl2.BackColor= System.Drawing.Color.AliceBlue;

Lbl2.Text = empreg.EmployeeID.ToString();

Empid[i] = Lbl2;

Tc4.Controls.Add(Lbl2);

Tr.Cells.Add(Tc4);

//Generating Employee name in table.

Label Lbl1 =newLabel();

Lbl1.ID ="lblName" + i.ToString();

Lbl1.Text = empreg.EmployeeName.ToString();

Empname[i] = Lbl1;

Tc1.Controls.Add(Lbl1);

Tr.Cells.Add(Tc1);

//Genertaing radiobuttonlist for attendance

RadioButtonList rdbl =newRadioButtonList();

rdbl.ID ="rdblAtt" + i.ToString();

rdbl.RepeatDirection =RepeatDirection.Horizontal;

ListItem item1 =newListItem();

//item1.Text = "Present";

item1.Value ="P";

item1.Selected =true;

rdbl.Items.Add(item1);

ListItem item2 =newListItem();

// item2.Text = "Absent";

item2.Value ="A";

rdbl.Items.Add(item2);

ListItem item3 =newListItem();

// item3.Text = "Off Day";

item3.Value ="O";

rdbl.Items.Add(item3);

ListItem item4 =newListItem();

// item4.Text = "Half Day";

item4.Value ="H";

rdbl.Items.Add(item4);

Attendance[i] = rdbl;

Tc2.Controls.Add(rdbl);

Tr.Cells.Add(Tc2);

//Genertaing TextBox for Remark

TextBox Txt1 =newTextBox();

// Txt1.ID = "txtRemark" + i.ToString();

Remark[i] = Txt1;

Remark[i].ID ="txtRemark" + i.ToString();

Remark[i].Text ="";

Tc3.Controls.Add(Txt1);

Tr.Cells.Add(Tc3);

Tab.Rows.Add(Tr);

}

this.Panel1.Controls.Add(Tab);

}

Wednesday, March 28, 2012

TableCell

I am using the TableCell object from the framework.
How can I mark a TableCell to correspond to a TH tag, when it gets converted
to a HTML table?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)Use a TableHeaderCell object instead.

"Arne Garvander" wrote:

> I am using the TableCell object from the framework.
> How can I mark a TableCell to correspond to a TH tag, when it gets converted
> to a HTML table?
> --
> Arne Garvander
> (I program VB.Net for fun and C# to get paid.)

TableCell

I am using the TableCell object from the framework.
How can I mark a TableCell to correspond to a TH tag, when it gets converted
to a HTML table?
--
Arne Garvander
(I program VB.Net for fun and C# to get paid.)Use a TableHeaderCell object instead.
"Arne Garvander" wrote:

> I am using the TableCell object from the framework.
> How can I mark a TableCell to correspond to a TH tag, when it gets convert
ed
> to a HTML table?
> --
> Arne Garvander
> (I program VB.Net for fun and C# to get paid.)

Saturday, March 24, 2012

tag <tbody> using TAble control

Hi misters,
How I generate <tbody> tag using Table, TableRow, etc ... controls ?
I have this method:
private Table GenerarTablaOrdenacion(LinkButton lnkAscendente, LinkButton
lnkDescendente, Image imgAZ, Image imgZA)
{
Table table = new Table();
TableRow row1 = new TableRow();
TableCell col1 = new TableCell();
TableCell col2 = new TableCell();
col1.Style.Add(HtmlTextWriterStyle.Width, "6px");
col1.Controls.Add(imgAZ);
col2.Controls.Add(lnkAscendente);
row1.Cells.Add(col1);
row1.Cells.Add(col2);
TableRow row2 = new TableRow();
TableCell col21 = new TableCell();
TableCell col22 = new TableCell();col21.Style.Add(HtmlTextWriterStyle.Width,
"6px");
col21.Controls.Add(imgZA);
col22.Controls.Add(lnkDescendente);
row2.Cells.Add(col21);
row2.Cells.Add(col22);
table.Rows.Add(row1);
table.Rows.Add(row2);
return table;
Thanks in advance.
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatic...topic.php?p=843
www.trabajobasura.com/solusoftOn Nov 28, 9:29 am, Alhambra Eidos Kiquenet
<AlhambraEidosKique...@.discussions.microsoft.com> wrote:
> Hi misters,
> How I generate <tbody> tag using Table, TableRow, etc ... controls ?
> I have this method:
> private Table GenerarTablaOrdenacion(LinkButton lnkAscendente, LinkButton
> lnkDescendente, Image imgAZ, Image imgZA)
> {
> Table table = new Table();
> TableRow row1 = new TableRow();
> TableCell col1 = new TableCell();
> TableCell col2 = new TableCell();
> col1.Style.Add(HtmlTextWriterStyle.Width, "6px");
> col1.Controls.Add(imgAZ);
> col2.Controls.Add(lnkAscendente);
> row1.Cells.Add(col1);
> row1.Cells.Add(col2);
> TableRow row2 = new TableRow();
> TableCell col21 = new TableCell();
> TableCell col22 = new TableCell();col21.Style.Add(HtmlTextWriterStyle.Widt
h,
> "6px");
> col21.Controls.Add(imgZA);
> col22.Controls.Add(lnkDescendente);
> row2.Cells.Add(col21);
> row2.Cells.Add(col22);
> table.Rows.Add(row1);
> table.Rows.Add(row2);
> return table;
> Thanks in advance.
> --http://www.alhambra-eidos.es/web2005/index.htmlwww.kiquenet.nethttp://www.setbb.
com/putainformatica/viewtopic.php?p=843www.trabajobasura.com/solusoft
I think you can use HtmlGenericControl instead
Example:
HtmlGenericControl tbl = new HtmlGenericControl("Table");
HtmlGenericControl tbody = new HtmlGenericControl("TBODY");
HtmlGenericControl row1 = new HtmlGenericControl("tr");
tbody.Controls.Add(row1);
...
this will not work (table only allows TableRows as children). you can't
do this with the builtin table class. you will need to write your own,
should be a pretty simple subclass.
-- bruce (sqlwork.com)
Alexey Smirnov wrote:
> On Nov 28, 9:29 am, Alhambra Eidos Kiquenet
> <AlhambraEidosKique...@.discussions.microsoft.com> wrote:
> I think you can use HtmlGenericControl instead
> Example:
> HtmlGenericControl tbl = new HtmlGenericControl("Table");
> HtmlGenericControl tbody = new HtmlGenericControl("TBODY");
> HtmlGenericControl row1 = new HtmlGenericControl("tr");
> tbody.Controls.Add(row1);
> ...
On Nov 28, 6:03 pm, bruce barker <nos...@.nospam.com> wrote:
> this will not work (table only allows TableRows as children). you can't
> do this with the builtin table class. you will need to write your own,
> should be a pretty simple subclass.
> -- bruce (sqlwork.com)
Bruce,
HtmlGenericControl tbl = new HtmlGenericControl("table");
HtmlGenericControl tbody = new HtmlGenericControl("TBODY");
HtmlGenericControl row1 = new HtmlGenericControl("tr");
HtmlGenericControl cell1 = new HtmlGenericControl("td");
LiteralControl lt = new LiteralControl("Hallo, Welt");
cell1.Controls.Add(lt);
row1.Controls.Add(cell1);
tbody.Controls.Add(row1);
tbl.Controls.Add(tbody);
panel1.Controls.Add(tbl);
returns
<table><TBODY><tr><td>Hallo, Welt</td></tr></TBODY></table>

tag <tbody> using TAble control

Hi misters,

How I generate <tbodytag using Table, TableRow, etc ... controls ?

I have this method:

private Table GenerarTablaOrdenacion(LinkButton lnkAscendente, LinkButton
lnkDescendente, Image imgAZ, Image imgZA)
{

Table table = new Table();
TableRow row1 = new TableRow();
TableCell col1 = new TableCell();
TableCell col2 = new TableCell();

col1.Style.Add(HtmlTextWriterStyle.Width, "6px");
col1.Controls.Add(imgAZ);
col2.Controls.Add(lnkAscendente);

row1.Cells.Add(col1);
row1.Cells.Add(col2);

TableRow row2 = new TableRow();
TableCell col21 = new TableCell();
TableCell col22 = new TableCell();col21.Style.Add(HtmlTextWriterStyle.Wi dth,
"6px");
col21.Controls.Add(imgZA);
col22.Controls.Add(lnkDescendente);

row2.Cells.Add(col21);
row2.Cells.Add(col22);

table.Rows.Add(row1);
table.Rows.Add(row2);
return table;

Thanks in advance.

--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatic...topic.php?p=843
www.trabajobasura.com/solusoftOn Nov 28, 9:29 am, Alhambra Eidos Kiquenet
<AlhambraEidosKique...@.discussions.microsoft.comwro te:

Quote:

Originally Posted by

Hi misters,
>
How I generate <tbodytag using Table, TableRow, etc ... controls ?
>
I have this method:
>
private Table GenerarTablaOrdenacion(LinkButton lnkAscendente, LinkButton
lnkDescendente, Image imgAZ, Image imgZA)
{
>
Table table = new Table();
TableRow row1 = new TableRow();
TableCell col1 = new TableCell();
TableCell col2 = new TableCell();
>
col1.Style.Add(HtmlTextWriterStyle.Width, "6px");
col1.Controls.Add(imgAZ);
col2.Controls.Add(lnkAscendente);
>
row1.Cells.Add(col1);
row1.Cells.Add(col2);
>
TableRow row2 = new TableRow();
TableCell col21 = new TableCell();
TableCell col22 = new TableCell();col21.Style.Add(HtmlTextWriterStyle.Wi dth,
"6px");
col21.Controls.Add(imgZA);
col22.Controls.Add(lnkDescendente);
>
row2.Cells.Add(col21);
row2.Cells.Add(col22);
>
table.Rows.Add(row1);
table.Rows.Add(row2);
return table;
>
Thanks in advance.
>
--http://www.alhambra-eidos.es/web2005/index.htmlwww.kiquenet.nethttp://www.setbb.com/putainformatica/viewtopic.php?p=843www.trabajobasura.com/solusoft


I think you can use HtmlGenericControl instead

Example:

HtmlGenericControl tbl = new HtmlGenericControl("Table");
HtmlGenericControl tbody = new HtmlGenericControl("TBODY");
HtmlGenericControl row1 = new HtmlGenericControl("tr");
tbody.Controls.Add(row1);
...
this will not work (table only allows TableRows as children). you can't
do this with the builtin table class. you will need to write your own,
should be a pretty simple subclass.

-- bruce (sqlwork.com)

Alexey Smirnov wrote:

Quote:

Originally Posted by

On Nov 28, 9:29 am, Alhambra Eidos Kiquenet
<AlhambraEidosKique...@.discussions.microsoft.comwro te:

Quote:

Originally Posted by

>Hi misters,
>>
>How I generate <tbodytag using Table, TableRow, etc ... controls ?
>>
>I have this method:
>>
>private Table GenerarTablaOrdenacion(LinkButton lnkAscendente, LinkButton
>lnkDescendente, Image imgAZ, Image imgZA)
>{
>>
>Table table = new Table();
>TableRow row1 = new TableRow();
>TableCell col1 = new TableCell();
>TableCell col2 = new TableCell();
>>
>col1.Style.Add(HtmlTextWriterStyle.Width, "6px");
>col1.Controls.Add(imgAZ);
>col2.Controls.Add(lnkAscendente);
>>
>row1.Cells.Add(col1);
>row1.Cells.Add(col2);
>>
>TableRow row2 = new TableRow();
>TableCell col21 = new TableCell();
>TableCell col22 = new TableCell();col21.Style.Add(HtmlTextWriterStyle.Wi dth,
>"6px");
>col21.Controls.Add(imgZA);
>col22.Controls.Add(lnkDescendente);
>>
>row2.Cells.Add(col21);
>row2.Cells.Add(col22);
>>
>table.Rows.Add(row1);
>table.Rows.Add(row2);
>return table;
>>
>Thanks in advance.
>>
>--http://www.alhambra-eidos.es/web2005/index.htmlwww.kiquenet.nethttp://www.setbb.com/putainformatica/viewtopic.php?p=843www.trabajobasura.com/solusoft


>
I think you can use HtmlGenericControl instead
>
Example:
>
HtmlGenericControl tbl = new HtmlGenericControl("Table");
HtmlGenericControl tbody = new HtmlGenericControl("TBODY");
HtmlGenericControl row1 = new HtmlGenericControl("tr");
tbody.Controls.Add(row1);
...


On Nov 28, 6:03 pm, bruce barker <nos...@.nospam.comwrote:

Quote:

Originally Posted by

this will not work (table only allows TableRows as children). you can't
do this with the builtin table class. you will need to write your own,
should be a pretty simple subclass.
>
-- bruce (sqlwork.com)


Bruce,

HtmlGenericControl tbl = new HtmlGenericControl("table");
HtmlGenericControl tbody = new HtmlGenericControl("TBODY");
HtmlGenericControl row1 = new HtmlGenericControl("tr");
HtmlGenericControl cell1 = new HtmlGenericControl("td");
LiteralControl lt = new LiteralControl("Hallo, Welt");
cell1.Controls.Add(lt);
row1.Controls.Add(cell1);
tbody.Controls.Add(row1);
tbl.Controls.Add(tbody);
panel1.Controls.Add(tbl);

returns

<table><TBODY><tr><td>Hallo, Welt</td></tr></TBODY></table>

tag definitions

could someone point me in the direction of a good source for tag definitions such as <uc1>?

Thanks.

the tag definitions are defined by the user.

In your <%@. %> for any user controls you can specify what tag to use... uc1 is default for user controls, cc1 is default for custom controls but you can use whatever you would like.,

TAG Cloud

Hi there,

I have searched everywhere for code that would allow me to create a Tag Cloud using ASP.Net 1.1 and VBScript. All I can find are ones for PHP which leaves me with no clue.

Does anyone know/have an example on how to create one?

Thanks in advance,

TCM_

what the heck is a "TAG Cloud"?
Tag Cloud: http://en.wikipedia.org/wiki/Tag_cloud
so its a list of used tags?
A list of tags where size reflects popularity

should'nt be too hard...

i assume you would have say a table called "tags" with columns like "tagName", "tagCount", where the count would be how many times its been "used" (ie, searched or added)

then just do a sql query and order by the "tagCount", then the highest "tags" would be in the largest font, etc...

how will your tags be stored? and what are the tags used for etc? more info and i may be able to rustle up some code for you...

regards.


Hi RiCo83,

Thank you all for your comments.

To explain a little more I have a table that has many columns, but the ones of interest are Category and Count. The count column counts how many times a record has been viewed. I would like to create a TagCloud that would 'weight' the Category column with the Category (i.e. Fashion) weighted on the number of times it has been viewed. Maybe 5 different weight types? So it would look through the table at the Category column (there will be multiple records with the same Category), so we would want to somehow add up all the count for Fashion etc. and weight on the most popular?

Hopefully this makes sense. Really unsure on how to acheive this through code?

Any thoughts would be greatly appreciated.

Regards,

TCM_


take a look at the "Select Count(field)..." sql script option


Hi there,

Thanks for the suggestion. I am able to use the Count() method, however I am unsure of how to use this for multiple categories and displaying information in a Tag Cloud type effect with different font weightings etc.

Any thoughts?

Thanks again,

TCM_


Hi there, I ran across this post while trying to figure out how to build a tag cloud. I ended up whacking together a little solution that I think works well. The hard part about building one is weighting the tags. To size each tag I wanted to answer the question, "how far off average is the count of this tag?" To answer this you can calculate thestandard deviation for the set of tag counts and figure out how many standard deviations away from average each tag count is.

I also wanted a maximum tag size and a minimum tag size in the cloud (so everything stays reasonable). Since, acording to some math theory, 96% of the tag counts are only 2 standard deviations away from the average (check out that bell curve on the standard deviation page), I created a line with the based on two points: (-2s, minSize) and (2s, maxSize) where s is the standard deviation. Once we have the function for that line, we can just give it the difference between our tag count and the average tag count, and it will give us the proper size. Anything more than 2s away from average is sized to either the min size or the max size. I used pixels for size, but you could use anything I suppose. The sizes in this solution are integers though.

Here's the code. It's two classes: Tag and Tags. Tags is a list of Tag objects. To use them, create Tag objects for each row in your result set (you need the tagName and the tagCount) and add them to the Tags list. Then call SizeTags() on the list. Then you can use the Tags as the datasource in a repeater on your ASP.NET page.

Public Class Tag
Private _tagName As String
Private _tagCount As Integer
Private _tagSize As Integer

Public Sub New(ByVal tagName As String, ByVal tagCount As Integer)
_tagName = tagName
_tagCount = tagCount
End Sub

Public ReadOnly Property TagName() As String
Get
Return _tagName
End Get
End Property

Public ReadOnly Property TagCount() As Integer
Get
Return _tagCount
End Get
End Property

Public ReadOnly Property TagSize() As String
Get
Return _tagSize
End Get
End Property

Friend Sub SetTagSize(ByVal size As Integer)
_tagSize = size
End Sub

End Class

Public Class Tags
Inherits Generic.List(Of Tag)

' Sizes all the tags based on number
' minSize: The smallest you want the tags to get
' maxSize: The largest you want the tags to get
Public Sub SizeTags(ByVal minSize As Integer, ByVal maxSize As Integer)
Dim avg = AverageTagCount()
Dim s As Double = StandardDeviation(avg)

'get the slope of our line
Dim m As Double = (maxSize - minSize) / (4 * s)

'get the y-intercept
Dim b As Double = (maxSize - minSize) / 2

'now for any given deviation from average we can generate the tag size

For Each t As Tag In Me
'x is the distance from average for this tagCount
Dim x As Double = t.TagCount - avg
t.SetTagSize(CInt(m * x + b))

'Just in case the tag turned out too small
If t.TagSize < minSize Then
t.SetTagSize(minSize)
End If

'And just in case the tag turned out too big
If t.TagSize > maxSize Then
t.SetTagSize(maxSize)
End If
Next

End Sub

' Calculates the standard deviation of the tagCount of these tags
'avgerage: accepts the average so we don't have to recalculate it when needed along with the standard deviation
Private Function StandardDeviation(ByVal avgerage As Double) As Double

Dim sum As Double = 0
For Each t As Tag In Me
sum += (t.TagCount - avgerage) ^ 2
Next

Return ((1 / Me.Count) * sum) ^ 0.5
End Function

Public Function AverageTagCount() As Double
Dim sum As Integer = 0
For Each t As Tag In Me
sum += t.TagCount
Next

Return sum / Me.Count
End Function

End Class

So in asp.net 1.1, create a project with those two classes, add that project to your solution that already has your asp.net project, then reference the "TagCloud" project in your asp.net project.

Then on your page, you can add a repeater like:


<asp:Repeater ID="TagsRepeater" runat="server">
<ItemTemplate>
<a class='tag' style='font-size: <%# Eval("TagSize") %>px' href='Stuff.aspx?tag=<%# Eval("TagName") %>'><%# Eval("TagName") %></a>
</ItemTemplate>
</asp:Repeater
And in the page load on the code behind set its datasource and databind it:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim t As New Tags

With t
.Add(New Tag("52", 52))
.Add(New Tag("13", 13))
.Add(New Tag("12", 12))
.Add(New Tag("2", 2))
.Add(New Tag("3", 3))
.Add(New Tag("4", 4))
.Add(New Tag("1", 1))
.Add(New Tag("67", 67))
.Add(New Tag("67b", 67))
.Add(New Tag("120", 120))
End With

t.SizeTags(10, 60)

TagsRepeater.DataSource = t
TagsRepeater.DataBind()

End Sub

Good luck!
Oh I just had a thought, I think in ASP.NET 1.1 you'll have to use Databinder.Eval() in your aspx page rather than just Eval() ...I can't remember.
Another thing with ASP.NET 1.1 is that you can't use Generics. So you'll have to change around that Tags class and turn it into a custom collection. Sorry, I wrote this in 2.0.
Try this solution :http://www.codeproject.com/useritems/cloud.asp

Hi guys,

Thanks so much for all the help and guidance...I am still struggling to get through the code and the link provided only works in .Net 2.0. If any one has any other ideas / links / controls for VB and .Net 1.1 it would be greatly appreciated.

Will let you know how I get on.

Regards,

TCM_


Look at this:http://www.toysforthebrain.com/TagCloudTest.zip

Tag A Photo

I have a page that loads a photo based on a query string in the URL.

I am attempting to allow the uploader of the image to "tag" people in the photo. A tag will be a javascript positioned "frame" over the top of the image, the frame will only appear when the user hovers their mouse over a name of someone in that photo.

I have sorted tagging as in, the user can set people in a photo. Does anyone know any java script that will allow me to :

1) Limit the users tagging abilitys to only the photos area : "image1".

2) Will save the location (from top and left) of the frame.

I hope this makes sense. If you wish to see an example "facebook.com" already does this type of tagging. I am a bit of a newbie when it comes to javasctript so i dont really know where to start with this. If there is a way of doing this that is better than the way i am trying please let me know. thanks si!

Hi,

Take a look here

http://weblogs.asp.net/scottgu/archive/2006/07/19/Building-a-Photo-Tagging-Application-using-ASP.NET-2.0_2C00_-LINQ_2C00_-and-Atlas.aspx


thats perfect except i didnt want to use class diagrams if possible. I will give it a go and see if it works for my project. Thanks a million! si!


i feel i should explain slightly more. I want the user to be able to click "photos containing you" button and it`ll load a page which`ll filter out all images that do not have a tag of them. I was going to do this from a querystring which seems simple enough to do, but its the cloud control and storing the tags that is causing me issues. Si!

Tag order

Hi,

I have over 40 textbox separated in 4 columns, each col
has 10 textbox.

I want to edit the tag order from top to down in first
col, then 2nd, 3rd and 4th col.

How can I control the tag order?

Thanks

TomDo you mean the "tab" order?

Set the tabindex property.

Cheers
Ken

"Tom" <kerocow@.yahoo.com> wrote in message
news:05bf01c3c5cd$97c6c6a0$a301280a@.phx.gbl...
: Hi,
:
: I have over 40 textbox separated in 4 columns, each col
: has 10 textbox.
:
: I want to edit the tag order from top to down in first
: col, then 2nd, 3rd and 4th col.
:
: How can I control the tag order?
:
: Thanks
:
: Tom

Tag not well formed?

I keep getting a "Parser Error Message:The server tag is not well formed" message for this. Can anyone help me understand why?

<asp:SqlDataSource ID="ctrlDataSource" runat="server"
ProviderName="System.Data.OleDb"
ConnectionString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("Database\TestDB.mdb")
Set DbConnection = Server.CreateObject("ADODB.Connection")
DbConnection.Open ConnectionString
SelectCommand="SELECT * FROM [Testtable] WHERE ID=@dotnet.itags.org.id" >

Is it the &? or Server.MapPath(@."Database\TestDB.mdb") ?


I don't think it is the &. I've seen it in sample code that uses Server.MapPath as part of the connectionstring. However, if not for the &, how would I make the Server.MapPath part of ConnectionString?

g2000:

or Server.MapPath(@."Database\TestDB.mdb") ?


I'm not sure what you mean...that there should be @. ?


doesn't it need the closing /

... /> instead of ...>


Actually, I close the tag later on, after SelectParameters. More completely, it looks like this:

<asp:SqlDataSource ID="ctrlDataSource" runat="server"
ProviderName="System.Data.OleDb"
ConnectionString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & Server.MapPath("Database\TestDB.mdb")
Set DbConnection = Server.CreateObject("ADODB.Connection")
DbConnection.Open ConnectionString
SelectCommand="SELECT * FROM [Testtable] WHERE ID=@.id"
<SelectParameters>
<asp:QueryStringParameter Name="id" QueryStringField="id" />
</SelectParameters
</asp:sqldatasource


have you tried hard-coding the conn string, as a test?


Yes. I used

<asp:SqlDataSource ID="ctrlDataSource" runat="server"
ProviderName="System.Data.OleDb"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=e:\ectserver\abcuser\DataBase\Testdb.mdb"
SelectCommand="SELECT * FROM [Testtable] WHERE ID=@.id" >

Now that is a bogus path, because I don't know the real one (this is not my server). However, the error message I get back is "is not a valid path," which is what I wouldexpect since it's bogus. It no longer complains"tag is not well formed." So why is the hard-coded tag well-formed while the other one isn't? I think there must be something about the syntax of my original <asp:SqlDataSource> ?


I don't think SqlDataSource has properties like

Set DbConnection = Server.CreateObject("ADODB.Connection")
DbConnection.Open ConnectionString

I am just beginning with ASP.NET but i think you would have to use <%= Server.MapPath("Database\TestDB.mdb") %>


I don't think you can concatenate a connection string within the SqlDataSource tag.

Try creating a connection string and assigning it to the data source programmatically in your code-behind page.



Ted C:

Try creating a connection string and assigning it to the data source programmatically in your code-behind page.

OK. How would I do this?


While lookking for the exact answer to your question, I found how to set up your connection string in your Web.config file. You'd have the following as part of the Web.config...

<connectionStrings>
<add name="SqlConnectionString"
connectionString="Data Source=localhost\band;Initial Catalog=Players;
Persist Security Info=True;User ID=band;Password=letmein"
providerName="System.Data.SqlClient"/>
</connectionStrings>

... and then your SqlDataSource tag would look something like...

<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:SqlConnectionString %>"
SelectCommand="SELECT [PlayerName], [PlayerManufacturerID] FROM [Player]">
</asp:SqlDataSource>

EDIT: Except I don't know if that solves your problem of dynamically building the connection string...

More searching...


OK, ConnectionString is a property of the SqlDataSource object, so you first create a string variable and use it to build your connection string dynamically...

string myConnString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("Database\TestDB.mdb");

...then you assign that string to the SqlDataSource's ConnectionString property...

SqlDataSource1.ConnectionString = myConnString;

You might even be able to do it in one line in the code-behind page.

SqlDataSource1.ConnectionString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("Database\TestDB.mdb");

That's in C#, of course. You'd need to translate it into VB, if that's what you're using.


Ted C:

OK, ConnectionString is a property of the SqlDataSource object, so you first create a string variable and use it to build your connection string dynamically...

string myConnString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("Database\TestDB.mdb");

...then you assign that string to the SqlDataSource's ConnectionString property...

SqlDataSource1.ConnectionString = myConnString;

I tried that a little earlier, when you first suggested that maybe I could not concatenate within the tag. I tried

<%

string cstr = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" + Server.MapPath("TestDB.mdb");

SqlDataSource.ConnectionString = cstr;

%>

I also tried single-line. But I kept getting back the error "CS0120:An object reference is required for the nonstatic field, method, orproperty 'System.Web.UI.WebControls.SqlDataSource.ConnectionString.get'" which is why I wound up asking how do I do it...I am not familiar with this error?


Although OLEDB can be used with SQLDATASOURCE, however why not use AccessDataSource which is built for this purpose. Actually it inherits from sqldatasource.

An example

<asp:AccessDataSource id="InvoiceAccessDataSource" DataFile="~/App_Data/Northwind.mdb" runat="server" SelectCommand="[Employee Sales By Country]" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter Name="Beginning Date" Type="DateTime" defaultValue="1/1/1997" /> <asp:Parameter Name="Ending Date" Type="DateTime" defaultValue="1/31/1997" /> </SelectParameters></asp:AccessDataSource><asp:GridView id="InvoiceGridView" runat="server" AutoGenerateColumns="True" DataSourceid="InvoiceAccessDataSource" />
http://msdn2.microsoft.com/en-us/library/8e5545e1.aspx
Should you wish to continue using Sql datasource then here is how to do it.
<!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html > <head runat="server"> <title>ASP.NET Example</title></head><body> <form id="form1" runat="server"> <asp:SqlDataSource id="SqlDataSource1" runat="server" DataSourceMode="DataReader" ConnectionString="<%$ ConnectionStrings:MyNorthwind%>" SelectCommand="SELECT LastName FROM Employees"> </asp:SqlDataSource> <asp:ListBox id="ListBox1" runat="server" DataTextField="LastName" DataSourceID="SqlDataSource1"> </asp:ListBox> </form> </body></html>
http://msdn2.microsoft.com/en-us/library/dz12d98w(vs.80).aspx
 
Hope that helps, please ping with any questions

tag not well formed with java and quotes problem

Here is the tag:

<asp:Image ID="Photo" runat="server" ImageUrl="Images/Loading.gif" OnLoad="SwapImage(this,'Handler.ashx?AlbumID=<%#Eval("AlbumID")%>&Size=M');" CssClass="photo_198" style="border:4px solid white" ToolTip='<%#Eval("DESCRIPTION")%>' />

I know the problem is something with the OnLoad part of the tag. and I'm pretty sure it has to do with the single quotes around the handler url. can anyone help with this? do I need to escape out of the single quote or what?

Try this

<asp:Image ID="Photo" runat="server" ImageUrl="Images/Loading.gif" OnLoad='SwapImage(this,<%# "Handler.ashx?AlbumID=" & Eval("AlbumID")%>&"Size=M");' CssClass="photo_198" style="border:4px solid white" ToolTip='<%#Eval("DESCRIPTION")%>' />
I dont have the swapImage function, so I'm not sure if it's working or not, but the error changed :)

onmouseover="<%#"javascript:clearHistory1('" & Eval("Heading") & "','" & Eval("Description") & "');"%>"


niether of those two helped, the 2nd on gives a worse error and I'm not doing a roll over image. Here is my swapImage function

 <script type="text/javascript"> function SwapImage(img,src) { img.src=src; } </script>

this is what I changed the onload part to and still get the not well formed tag error:

<asp:Image ID="Photo" runat="server" ImageUrl="Images/Loading.gif" OnLoad='<%#"SwapImage(this, 'Handler.ashx?AlbumID=" + Eval("AlbumID") +"&Size=M')"%>' CssClass="photo_198" style="border:4px solid white" ToolTip='<%#Eval("DESCRIPTION")%>' />

ASP:Image is a server side control, when you specify the onload event, it's looking for a server onload event, not a JavaScript event which is client side.

<imgonload="SwapImage(this,<%# "handler.ashx?AlbumID=" & Eval("AlbumID") & "&Size=M" %>);"src="Images/loading.gif"class="photo_198"style="border:4px solid white"ToolTip='<%#Eval("Description")%>'/>

You need a client side HTML tag like above, who's onload even will fire on the client side, not the server side.

Hope this helps.


here is the other way is wrote the Onload part and got the same error:

OnLoad="SwapImage(this, 'Handler.ashx?AlbumID=<%# Eval("AlbumID") %>&Size=M')"


thanks a lot!!! It works great! I just needed to change the onload function in the swapImage function


it looks great in firefox but in IE 7.0 the animation of the loading gif never animates and just shows the first frame. The actual image load above it, but IE says there is an error on the page and says the error is "Error: object expected"


I fixed the Error but in IE I still don't get any animation from the loading.gif, anyone know why?


It's almost assurendly a problem with your handler. Can you post the code to the handler you're using to retreive the image?


the handler returns the correct image fine. The website runs perfect with animation in firefox but IE 7.0 just stops the animation of the loading.gif at the first frame

Tag prefix

Hi all,

I have two ASP.NET newby questions:

1. what and why are there tag prefixes (example <asp:...)?
2. why doesn't the following code (in VB.NET) render these prefixes?

Dim myTextBox As New System.Web.UI.WebControls.TextBox
Dim oStringWriter As System.IO.StringWriter = New
System.IO.StringWriter
Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
System.Web.UI.HtmlTextWriter(oStringWriter)

myTextBox.RenderControl(oHtmlTextWriter)
TextBox1.Text = oStringWriter.ToString()

Regards,
BlazWhat are u trying to do?
Do u want to use ASP.NET or VB?

"Blaz Ziherl" wrote:

> Hi all,
> I have two ASP.NET newby questions:
> 1. what and why are there tag prefixes (example <asp:...)?
> 2. why doesn't the following code (in VB.NET) render these prefixes?
> Dim myTextBox As New System.Web.UI.WebControls.TextBox
> Dim oStringWriter As System.IO.StringWriter = New
> System.IO.StringWriter
> Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
> System.Web.UI.HtmlTextWriter(oStringWriter)
> myTextBox.RenderControl(oHtmlTextWriter)
> TextBox1.Text = oStringWriter.ToString()
>
> Regards,
> Blaz
blaz,

Tag prefixes are used by the asp.net compiler to identify tags that should
be processed on the server. All stardard ASP.Net control have the ASP
prefix. If you build your own controls, you can use a custom tag prefix such
as:

<blaz:newlabel id="blazlabel1" runat="server" text="" /
If you notice the rendered HTML output on the client these server controls
have been rendered as standard HTML elements such as <select>, <input>,
<img>, and so forth. Browsers such as IE and Netscape cannot parse a
<asp:label> tag, the server handles this.

For the answer to question 2. What are you trying to do?

Add a text box to a form?
Dim tbFirstName as System.Web.UI.WebControls.TextBox
Page.Controls.Add(FirstName)
Read the text of a textbox?
Dim strFirstName as String = tbFirstName.Text

HTH MikeL

"Blaz Ziherl" wrote:

> Hi all,
> I have two ASP.NET newby questions:
> 1. what and why are there tag prefixes (example <asp:...)?
> 2. why doesn't the following code (in VB.NET) render these prefixes?
> Dim myTextBox As New System.Web.UI.WebControls.TextBox
> Dim oStringWriter As System.IO.StringWriter = New
> System.IO.StringWriter
> Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
> System.Web.UI.HtmlTextWriter(oStringWriter)
> myTextBox.RenderControl(oHtmlTextWriter)
> TextBox1.Text = oStringWriter.ToString()
>
> Regards,
> Blaz
Thanks for your answers!

About the rendering. Well I am trying to add an ASP.NET WebControls
support to my application that includes a simple HTML Editor. But
can't really figure out how could I generate <asp:...></asp:...>
formatted ASP code from any of the WebControls.

Any ideas?

Regards,
Blaz

Tag prefix

Hi all,
I have two ASP.NET newby questions:
1. what and why are there tag prefixes (example <asp:...)?
2. why doesn't the following code (in VB.NET) render these prefixes?
Dim myTextBox As New System.Web.UI.WebControls.TextBox
Dim oStringWriter As System.IO.StringWriter = New
System.IO.StringWriter
Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
System.Web.UI.HtmlTextWriter(oStringWriter)
myTextBox.RenderControl(oHtmlTextWriter)
TextBox1.Text = oStringWriter.ToString()
Regards,
BlazWhat are u trying to do?
Do u want to use ASP.NET or VB?
"Blaz Ziherl" wrote:

> Hi all,
> I have two ASP.NET newby questions:
> 1. what and why are there tag prefixes (example <asp:...)?
> 2. why doesn't the following code (in VB.NET) render these prefixes?
> Dim myTextBox As New System.Web.UI.WebControls.TextBox
> Dim oStringWriter As System.IO.StringWriter = New
> System.IO.StringWriter
> Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
> System.Web.UI.HtmlTextWriter(oStringWriter)
> myTextBox.RenderControl(oHtmlTextWriter)
> TextBox1.Text = oStringWriter.ToString()
>
> Regards,
> Blaz
>
blaz,
Tag prefixes are used by the asp.net compiler to identify tags that should
be processed on the server. All stardard ASP.Net control have the ASP
prefix. If you build your own controls, you can use a custom tag prefix suc
h
as:
<blaz:newlabel id="blazlabel1" runat="server" text="" />
If you notice the rendered HTML output on the client these server controls
have been rendered as standard HTML elements such as <select>, <input>,
<img>, and so forth. Browsers such as IE and Netscape cannot parse a
<asp:label> tag, the server handles this.
For the answer to question 2. What are you trying to do?
Add a text box to a form?
Dim tbFirstName as System.Web.UI.WebControls.TextBox
Page.Controls.Add(FirstName)
Read the text of a textbox?
Dim strFirstName as String = tbFirstName.Text
HTH MikeL
"Blaz Ziherl" wrote:

> Hi all,
> I have two ASP.NET newby questions:
> 1. what and why are there tag prefixes (example <asp:...)?
> 2. why doesn't the following code (in VB.NET) render these prefixes?
> Dim myTextBox As New System.Web.UI.WebControls.TextBox
> Dim oStringWriter As System.IO.StringWriter = New
> System.IO.StringWriter
> Dim oHtmlTextWriter As System.Web.UI.HtmlTextWriter = New
> System.Web.UI.HtmlTextWriter(oStringWriter)
> myTextBox.RenderControl(oHtmlTextWriter)
> TextBox1.Text = oStringWriter.ToString()
>
> Regards,
> Blaz
>
Thanks for your answers!
About the rendering. Well I am trying to add an ASP.NET WebControls
support to my application that includes a simple HTML Editor. But
can't really figure out how could I generate <asp:...></asp:...>
formatted ASP code from any of the WebControls.
Any ideas?
Regards,
Blaz

Tagging in ASP.NET 2.0 - can anyone help, please?

Hello,

I have found lots of articles explaining how to build tag clouds in ASP.NET, they are very good. I have been looking for a very simple tutorial on how to allow users to tag a database entry like a photo or news article, or anything really, like on this forum - where you add tags for a new post. I can't find any. I'm quite new to this, and I would be really grateful if somone could explain how I can build a page where users can tag stuff, using a single textbox and commas as a separator for each word. Thats the bit which confuses me the most!

Thank you very much!

Jack.

Hi Jack,

There's a few steps involved, so I'll try to keep it short...

First, add a "Tags" table with the following fields to the database that will hold all of your tags:

Tags
- tagID (Integer)(Primary Key)(Identity)
- tagText (varchar(255))

Next, let's assume you already have a table that stores your Articles, and it has a primary key field named: "articleID". You would then create another table to tie multiple tags to an article:

ArticleTags
- articleID (Integer)(Not Null)
- tagID (Integer)(Not Null)

Now, without getting too far into a discussion about good architecture - let's keep things simple. Let's create classes that define our Article, Tag and ArticleTag tables:

public class Article
{
public int articleID;
public string name;
public string body;

public Article(string name, string body)
{
this.name = name;
this.body = body;
}

public void Insert()
{
//code to save an article goes here
//once article is saved, set the generated articleID into this object
this.articleID = ArticleManager.Insert(this);
}
}

public class Tag
{
public int tagID;
public string tagText;

public Tag(string tag)
{
this.tagText = tag;
}

public void Insert()
{
//first, see if tag already exists
Tag tag = TagManager.GetByTagText(this.tagText);
if (tag == null) //assumes that above method returns null if matching tag not found
{
//once tag is saved, set the generated tagID into this object
this.tagID = TagManager.Insert(this);
}
else
{
//tag exists, grab the tagID
this.tagID = tag.tagID;
}
}
}

public class ArticleTag
{
public int articleID;
public int tagID;

public ArticleTag(int articleID, int tagID)
{
this.articleID = articleID;
this.tagID = tagID;
}

public void Insert()
{
ArticleTagManager.Insert(this);
}
}

Let's also create a helper class that holds multiple "Tag" objects:

public class TagList : List<Tag>
{
public TagList() { }
}

OK, that's the backend stuff done. Now all we need to do is get the tags from the user, parse them out and use these classes to save them to the database. Let's assume that we're on a page where we are creating a new Article and Tags for that article at the same time:

After the "Save" button is clicked, so the code goes here:

protected void btnSave_Click(object sender, EventArgs e)
{
//build up the new Article object
Article art = new Article(txtName.Text, txtBody.Text);

//now, let's grab the tags which are seperated by commas
TagList tList = new TagList();
string[] tags = txtTags.Text.Split(',');
//loop through the resulting array
foreach (string t in tags)
{
//first, make sure there's more than just a space
if (t.Trim().Length > 0)
{
Tag tag = new Tag(t.Trim());
//add tag to the list
tList.Add(tag);
}
}
this.mNewTagList = tList;

//now, save article and tags
art.Insert();

//make sure it saved and we have an articleID to use
if (art.articleID > 0)
{
//now save each tag, and create association between the tag and the article
foreach(Tag t in tList)
{
t.Insert();

//make sure we have a tagID to work with
if (t.tagID > 0)
{
//create a new association
ArticleTag at = new ArticleTag(art.articleID, t.tagID);
at.Insert();
}
}
}
}

That's it! Hope that helps!

Chad

Thursday, March 22, 2012

TagPrefix Defined Globally...?

Hi all,

I have the following register tag for my custom controls on each of my ASPX pages:


<%@dotnet.itags.org. Register TagPrefix="MY" Namespace="MY.Presentation" Assembly="MY.Presentation"%>
Is it possible to make this decleartion globally, say in global.asa or web.config?

Or is it required that each page defines it individually?

Has anyone come across an elgeant solution for doing this? I'm using <!-- Include --> at the moment but surely theres a way of avoiding this?

Any help would be very much appreciated.

Thanks in advance.

SarahThere is no other solution at the moment -- this will be addressed in v2.0 (Whidbey).

TagPrefix?

Maybe a newbie question, but I'm trying to implement a
custom Tag processing routine. I'm having limited
success finding documentation on the following:

<%@dotnet.itags.org.Register TagPrefix="bla" ... %
Can anyone point me to any kind of documentation on how
this mechanism works. Simply put, I want to be able to
put a custom tag in my ASPX file, and to have a block of
my code that is processed (when that tag is encountered)
which will be located in an assembly of my choosing, and
not another file such an .ASCX file.Brad B. wrote:
> Maybe a newbie question, but I'm trying to implement a
> custom Tag processing routine. I'm having limited
> success finding documentation on the following:
> <%@.Register TagPrefix="bla" ... %>
> Can anyone point me to any kind of documentation on how
> this mechanism works. Simply put, I want to be able to
> put a custom tag in my ASPX file, and to have a block of
> my code that is processed (when that tag is encountered)
> which will be located in an assembly of my choosing, and
> not another file such an .ASCX file.

What you're talking about doing is developing a "Custom Server Control".
MSDN has a complete walk-through that should get you started:

http://msdn.microsoft.com/library/e...msControl.as p

--
mikeb

Thanks. This helped.
Unfortunately, I still can't seem to achieve what I need. Basically, I
wish to "Insert" html at the top of my aspx page that will force
everything else on the page to move down. With normal HTML, this is a
given. However, the default design mode for aspx pages uses absolute
positioning. I need a way to actually insert something at the top of
the page (during one of the page processing events) that would show up
at the top of the page and force everything else to move down.

Any help would be appreciated greatly.

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Tuesday, March 13, 2012

TargetSchema meta tag and TargetSchema attribute

When creating a new .aspx page, VisualStudio creates a meta tag called"vs_targetSchema" that holds the following value:"http://schemas.microsoft.com/intellisense/ie5". When creating a new.ascx page, VisualStudio create a "TargetSchema" attribute within the@dotnet.itags.org.Control directive which holds this same value.
If I'm building an application that I want to be browser-independant,should I eliminate this meta tag and attribute, should I add additionalmeta tags and attributes, or will any of these actions make adifference?
Thanks in advance for your help!
Hi there,
Just add following in your web.config file.. This should do the job for you.
<browserCaps>
tagwriter=System.Web.UI.HtmlTextWriter
</browserCaps>
Regards,

Thanks a lot for your reply ... I'm going to read up on browerCaps.

However, I'd still like specific information concerning my questions about the TargetSchema metatag and @.Control attribute. I'd appreciate any help.

Thanks again.

td tag generating faulty code

I have created a user control using asp:table control. The control generates
a single column menu controls with 5 rows. each row is supposed to have a
image in link tag. The problem is that ASP.Net framework generates closing
"td" tags on new line. This causes to show extra white pixels at the bottom
of each image. This is because of a known bug in "IE" where it has issues
with closing "td" tag on new line.
Question .... is there a way to control the HTML tags generated by ASP.Net
controls so that I can get the UI the way I want it?
Thanks
Naveen K Kohli
http://www.netomatix.comYou would have to override the Render method of the server control, or
possible create a custom control where you specify the HTML to rendered.
David Lloyd
MCSD .NET
http://LemingtonConsulting.com
This response is supplied "as is" without any representations or warranties.
"Naveen K Kohli" <naveenkohli@.hotmail.com> wrote in message
news:#xNFQq#VFHA.1384@.TK2MSFTNGP09.phx.gbl...
I have created a user control using asp:table control. The control generates
a single column menu controls with 5 rows. each row is supposed to have a
image in link tag. The problem is that ASP.Net framework generates closing
"td" tags on new line. This causes to show extra white pixels at the bottom
of each image. This is because of a known bug in "IE" where it has issues
with closing "td" tag on new line.
Question .... is there a way to control the HTML tags generated by ASP.Net
controls so that I can get the UI the way I want it?
Thanks
Naveen K Kohli
http://www.netomatix.com