or
protected void radTreeViewTopicsGridFilter_NodeDataBound(object sender, RadTreeNodeEventArgs e) { DataRowView dataSourceRow = (DataRowView)e.Node.DataItem; }RadChart1.Legend.Marker.Appearance.Border.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid; RadChart1.Legend.Marker.Appearance.Border.Width = 1; RadChart1.Legend.Marker.Appearance.Border.Color = Color.Silver; LabelItem item1 = new LabelItem(); item1.Marker.Appearance.FillStyle.MainColor = HexToColor("#2FBA2F"); item1.Marker.Appearance.FillStyle.FillType = FillType.Solid; item1.Marker.Appearance.Figure = "Rectangle"; item1.TextBlock.Text = "Good";
<telerik:RadComboBox ID="WeekEndingCB" Font-Size="Large" runat="server" OnSelectedIndexChanged="WeekEndingCB_SelectedIndexChanged" OnTextChanged="WeekEndingCB_TextChanged" AutoPostBack="True" Style="width: 7.2em;"> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> <ItemTemplate> Text: "<%# Eval("Text") %>" </ItemTemplate> <Items> <telerik:RadComboBoxItem Value="10/3/2010" Text="10/3/2010" />
<telerik:RadComboBoxItem Value="10/10/2010" Text="10/10/2010" />
</Items></telerik:RadComboBox><telerik:RadWindow ID="StudentCheckListWindow" runat="server" Modal="True" AutoSize="true" EnableShadow="true" Behaviors="Close" ReloadOnShow="true"> If the item is clicked in the RadWindow before any RegisterStartupScript is called everything is fine. Also, if I run something RegisterStartupScript and then do a full page postback and then open the window everything is fine. It's almost like RegisterStartupScript is changing the page DOM and then the RadWindow is throwing an error which is fixed by a full postback.
My code block looks something like:
ScriptManager.RegisterStartupScript(Page, this.GetType(), "RedirectScript", "window.open('" + redirect + "');", true);If (e.CommandName = RadGrid.InitInsertCommandName) Then
'cancel the default operation
e.Canceled = True
'Prepare an IDictionary with the predefined values
Dim newValues As System.Collections.Specialized.ListDictionary = New System.Collections.Specialized.ListDictionary()
newValues("plantID") = Session("PlantID")
'Insert the item and rebind
e.Item.OwnerTableView.InsertItem(newValues)
End If
When I go to add a new record there is a textbox with the correct session value for plantID in there and the value inserts ok...
What I want to do though is hide this text box when the grid is in edit mode - but I can't seem to do it without forcing the column to be read only - which obviously defeats the object...
Is there a way of using the default insert value as above but not displaying the textbox in edit mode?
Thanks in advance for any help...
Can anyone one share any idea
which version of telerik(asp.net ajax) is compatible with asp.net 3.5 and also pls share any path to get trail version for the same