or
Please tell me how to access the RadioButton on the client side.
Many thanks for your helping.
| <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource_Vocabulary" |
| GridLines="None" AllowMultiRowSelection="True"> |
| <MasterTableView AutoGenerateColumns="False" DataKeyNames="RecordNo" DataSourceID="SqlDataSource_Vocabulary"> |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn Resizable="False" Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridTemplateColumn HeaderText="edit" UniqueName="EditColumn" CurrentFilterFunction="NoFilter" |
| FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderStyle-Width="10%"> |
| <ItemTemplate> |
| <asp:RadioButton ID="RadioButton1" runat="server" onClick="SelectOne(this)" /> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| </Columns> |
| <EditFormSettings> |
| <PopUpSettings ScrollBars="None" /> |
| </EditFormSettings> |
| </MasterTableView> |
| <ClientSettings> |
| <Selecting AllowRowSelect="True" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
Hi
We are having trouble registering our custom skin for all controls in DotNetNuke. We created a custom skin but are unsure as to where we need to put the files in our solution. We currently have them in the root (Skin name "MySkin") and in the web.confing we have an appsetting that is:
<add key="Telerik.Skin" value="MySkin" />
This does not work - our skin is not appearing on the control. Are we putting the files in the correct spot, and are we registering the skin correctly for use? If not please advise.
Thanks!

| DataRow[] dr = Products.Select("ProductID = " + editable.OwnerTableView.DataKeyValues[editable.ItemIndex]["ProductID"]); |
| protected void Grid2_UpdateCommand(object source,GridCommandEventArgs e) |
| { |
| GridEditableItem editable = e.Item as GridEditableItem; |
| UserControl uc = (UserControl) e.Item.FindControl(GridEditFormItem.EditFormUserControlID); |
| DataRow[] dr = Products.Select("ProductID = " + editable.OwnerTableView.DataKeyValues[editable.ItemIndex]["ProductID"]); |
| // Can not find the ID to update .... |
| if(dr.Length != 1) |
| { |
| Grid2.Controls.Add(new LiteralControl("Can not find Item to update!!")); |
| e.Canceled = true; |
| return; |
| } |
| try |
| { |
| Hashtable ht = CollectFormData(e); |
| ht["ProductID"] = (int)editable.OwnerTableView.DataKeyValues[editable.ItemIndex]["ProductID"]; |
| SqlDataAdapter da = new SqlDataAdapter(productSelect, ConnObject); |
| SqlCommandBuilder cb = new SqlCommandBuilder(da); |
| dr[0].BeginEdit(); |
| foreach (DictionaryEntry entry in ht) |
| { |
| dr[0][(string)entry.Key] = entry.Value; |
| } |
| dr[0].EndEdit(); |
| ConnObject.Open(); |
| da.Update(dataSet, "Products"); |
| } |
| catch(Exception ex) |
| { |
| Grid2.Controls.Add(new LiteralControl("Can not update record !!")); |
| e.Canceled = true; |
| } |
| finally |
| { |
| ConnObject.Close(); |
| } |
| } |