I have following Rad controls on a user control. I load this user control dynamically. I am doing everything mentioned in general to maintain viewsatate.
Following RadText box is not maintaining a viewstate in between postbacks. Next to Rad I have put regular aspText box and it works fine with viewstate.
<telerik:RadTextBox ID="txtName" runat="server" MaxLength="50"
meta:resourcekey="txtName" Width="300px" EnableViewState="true">
</telerik:RadTextBox>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> --- This one works fine
Following Rad combobox is behaving like locked I can not select values from a dropdown. But next to this one is regular aspdropdown on the same page which works fine with view state as well as with dropdown list selection. Exactly same code I use to load both boxes. Which is also given
<telerik:RadComboBox ID="cboAccount" runat="server" Skin="Vista"
meta:resourcekey="cboAccount" Sort="Ascending" Width="300px" AppendDataBoundItems="True">
</telerik:RadComboBox>
<asp:DropDownList ID="DropDownList1" runat="server">
</asp:DropDownList>
With cboAccount
.DataSource = _piggyBankEligibleAccounts
.DataTextField = "Text"
.DataValueField = "id"
.DataBind()
End With
With DropDownList1
.DataSource = _piggyBankEligibleAccounts
.DataTextField = "Text"
.DataValueField = "id"
.DataBind()
End With
| function RowCreated(sender, eventArgs) { |
| var dataItem = eventArgs.get_gridDataItem(); |
| for (var i = 0; i < dataItem.get_element().cells.length; i++) { |
| //if (elementName == 'CompName') { |
| if (i == 1) { |
| dataItem.get_element().cells[i].onclick = function() { |
| this.selected = this.selected == true ? false : true; |
| //some function |
| }; |
| } |
| else if (i == 2) { |
| dataItem.get_element().cells[i].onclick = function() { |
| this.selected = this.selected == true ? false : true; |
| //some function |
| }; |
| } |
| else if (i == 3) { |
| dataItem.get_element().cells[i].onclick = function() { |
| this.selected = this.selected == true ? false : true; |
| //some function |
| }; |
| } |
| } |
| } |
Hi all,
I have a tab control on some page. the tab contains more controls. now for the first time if i try to scroll down in the tab control the tab heading is moving along. please find the screen shots in attachments.
Please help me out in this.
Thanks in advance.