| <telerik:RadFileExplorer ID="RadFileExplorer1" Height="410px" Width="400px" TreePaneWidth="150px" |
| runat="Server" EnableOpenFile="false" AllowPaging="true"> |
| Protected Sub RadComboBox1_ItemsRequested(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs) Handles RadComboBox1.ItemsRequested |
| CustDropDownSQL.SelectCommand = "SELECT [CCUST], [CNME] FROM [RCM] WHERE [CMID] = 'CM' and [CNME] Like '" + e.Text + "%' ORDER BY [CNME] ASC" |
| RadComboBox1.DataSource = CustDropDownSQL |
| RadComboBox1.DataTextField = "CNME" |
| RadComboBox1.DataValueField = "CCUST" |
| RadComboBox1.DataBind() |
| End Sub |
Hi
i'm new with telerik controls i have some questions about the radGrid
1- i have bound the grid to a sqldatasourse and set the data source insert query set allowautomaticdelete, allowautomaticedit,allowautomaticinsert all to true
now i have edit and delete buttons where is the insert button it is not shown
2- i made a normal link button insted of the insert button and but onclick event for that button
RadGrid1.MasterTableView.InsertItem()
that show an insert form with text box for every column except the primary key it not shown of course the insert fails without the primary key
3- how can i customize the insert form (use checkbox and dropdown insted of textbox)
thanks for the help
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Wed, 28 Oct 2009 08:03:58 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: Exception has been thrown by the target of an invocation.
Line: 6
Char: 62099
Code: 0
URI: http://localhost:81/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_radScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad2d891f5-3533-469c-b9a2-ac7d16eb23ff%3a16e4e7cd%3aed16cbdc%3a11a04f7e
Does anybody have an idea what i can do to fix this error?
Thanks in advance!