Hello friends,
I have a problem,
<HTML>
<body id="body" MS_POSITIONING="GridLayout" runat="server">
<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border=
0">
<tr vAlign="top">
<td vAlign="top" height="100%">
<form id="Form1" method="post" runat="server">
<table height="100%" cellSpacing="0" cellPadding="0" width="100%"
border="1">
<tr id="MainRow" runat="server">
<td id="Td1" runat="server">Test</td>
<td id="Td2" runat="server"><asp:dropdownlist id="moduleType" runat=
server" CssClass="topic" AutoPostBack="True"></asp:dropdownlist></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</HTML>
private void Page_Load(object sender, System.EventArgs e)
{
if (!Page.IsPostBack)
{
moduleType.Items.Add ("One");
moduleType.Items.Add ("Two");
moduleType.Items.Add ("Three");
moduleType.Items.Add ("Four");
moduleType.Items.Add ("Five");
Session["Direction"] = 1;
}
if (Convert.ToInt32(Session["Direction"]) == 1)
{
MainRow.Cells.Add (Td1);
MainRow.Cells.Add (Td2);
body.Attributes.Add ("dir", "rtl");
}
}
The above form works fine for me. But, If I change the code
MainRow.Cells.Add (Td1);
MainRow.Cells.Add (Td2);
To
MainRow.Cells.Add (Td2);
MainRow.Cells.Add (Td1);
Means, it is not working....That is., If I select some elements in the combo
means, the next time, the combo gets cleared....
Plz Help
Raja Pandian
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/