<
telerik:RadFilter ID="RadFilter1" runat="server">
<FieldEditors>
<telerik:RadFilterTextFieldEditor FieldName="WORKORDERNUMBER" DisplayName="Work Order#" DataType="System.String" />
<telerik:RadFilterTextFieldEditor FieldName="TRACKINGNUMBER" DisplayName="Tracking#" DataType="System.String" />
</FieldEditors>
</telerik:RadFilter>
protected override void OnLoad(EventArgs e)<br> {<br> RadGrid grid = (RadGrid)pc1.FindControl("dgSample");<br> RadAjaxManager1.AjaxSettings.AddAjaxSetting(grid, grid);<br> RadAjaxManager1.AjaxSettings.AddAjaxSetting(grid, Label2);<br> base.OnLoad(e);<br> } protected void cTextbox_TextChanged(object sender, EventArgs e)<br> {<br> LiteralControl ctrl1 = new LiteralControl<br> (String.Format("<script type='text/javascript'>document.getElementById('{0}').innerHTML = '{1}';</script>", this.FindControl("Label2").ClientID, "Teexx"));<br><br><br> //You should add the LiteralControl to the Controls collection of RadGrid in order to make it work with Telerik RadGrid AJAX<br> this.Controls.Add(ctrl1);<br> return;<br> }Scenario:
I am developing an application using Telerik RadControls for ASPX.NET AJAX. I have tree
different Rad controls in the main page. A RadTreeview, a RadTabStrip and a RadGrid.
The basic functionality is: I select a node from the Treeview, that builds dynamic questions sourced from a database) in the RadTabStrip. And the answer to those questions is given by
selection an option in the single column RadGrid.
My questions are:
1. How can I set a default selection in the RadGrid?
2. When a node is selected the RadTabStrip is rebuilt but the page always blinks. How can I
avoid that blinking from the whole page running some server side code like the example here: http://demos.telerik.com/aspnet-classic/treeview/Examples/Programming/ServerSideApi/DefaultCS.aspx?
3. After a node selection and rebuilding the tabstrip pages, the RadTreeView loses the selected node focus. How can I keep the focus on the previously selected node? (it has something to do with that blink, can it be from the PostBack of the page?)
4. How can I load the grid having for each row a value and a text (value is an id related to the text element)?
Thank you all.
Regards
Bruno
