Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
186 views

Issue1:

I want to add/Edit rows to Hierarchical child grid as how we can done for RadGrid.


Issue2:

 How to add a row by default in insert mode in Hierarchical Grid.?



Regards,
Satya.
Princy
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
145 views

I am using WebBlue Skin.  How can I use CSS in a RadGrid EditItemStyle-CssClass="Test" .  I have tried what is below and it does not work.

<telerik:RadGrid .... EditItemStyle-CssClass="Test" >

.RadGrid_WebBlue .Test
{
    background-color:red;
}

Shinu
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
154 views
Hi,

I've got a RadGrid with 3 levels. I want to define a different style/skin for each level. How could I achieve this?
Are there any samples? Can I define a skin on each detail table?

Kind regards and thanks in advance

Stefan Volkmer
Shinu
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
76 views

Hi,

I want to attach my data programmatically to the radgrid. Once the data is attach to the radgrid, i want to insert, delete and update data through RadGrid only.

Please advice me how to do, this is very urgent for me.

Attaching data to the grid in the form of:

Creating sql connection.
creating command
copy the data into the dataset
attach to grid
close the connection

Please give me example how to attach and can able to perform insert, delete and update operation with grid and also with programmatically.

Thanks.

Shinu
Top achievements
Rank 2
 answered on 21 May 2009
1 answer
111 views
I have a radgrid , can I have it to show only the refresh grid icon (functionality) without the add new line functionality, If so can someone please provide me an example ?
Princy
Top achievements
Rank 2
 answered on 21 May 2009
3 answers
265 views
Hi All,

In my code am using Telerik Grid . Inside telerik Grid am using EditFormSettings tab to update Grid details.
I don't know how to get a ClientID of my textbox inside the user control. I want to apply the javascript to that textbox.
I need clientID for that textbox.

Could you please help me to how can i get Client ID inside the User Control in Telerik Grid

Here am Placing my sample code.
<radG:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowFilteringByColumn="False" 
                AllowMultiRowSelection="false" AllowPaging="True" AllowSorting="True" BackColor="Transparent" 
                DataSourceID="GridDataSource" EnableAJAX="false" EnableAJAXLoadingTemplate="false" 
                EnableViewState="true" GridLines="None" LoadingTemplateTransparency="50" ShowGroupPanel="True" 
                ShowStatusBar="False" AutoGenerateColumns="true" OnUpdateCommand="RadGrid1_UpdateCommand" 
                SkinID="myGrid" OnColumnCreated="ColumnCheck" OnPreRender="ReduceFilter" Width="100%" 
                OnItemDataBound="ColDatabind">  
                <MasterTableView DataSourceID="GridDataSource" GroupLoadMode="Client">  
                    <Columns> 
                        <radG:GridEditCommandColumn ButtonType="ImageButton" EditImageUrl="~/Images/edit.gif" 
                            UniqueName="EditCommandColumn1" Resizable="False" Reorderable="False">  
                            <HeaderStyle Width="15px" /> 
                        </radG:GridEditCommandColumn> 
                        <radG:GridTemplateColumn UniqueName="AssignUser" AllowFiltering="False" Reorderable="False" 
                            Groupable="False" Resizable="False" Visible="false">  
                            <HeaderStyle Width="20px" /> 
                            <HeaderTemplate /> 
                            <ItemTemplate> 
                                <asp:ImageButton runat="Server" ID="ibtnAssignMsg" ImageUrl="~/images/Asgn.gif" CommandName="AssignMsgToUser" 
                                    ToolTip="Assign SMS to User" Visible="false" /> 
                            </ItemTemplate> 
                        </radG:GridTemplateColumn> 
                        <radG:GridTemplateColumn UniqueName="myselect" AllowFiltering="False" Reorderable="False" 
                            Groupable="False" Resizable="False">  
                            <HeaderStyle Width="20px" /> 
                            <HeaderTemplate> 
                                <asp:CheckBox ID="selectall" runat="Server" OnLoad="SelectAll" /> 
                            </HeaderTemplate> 
                            <ItemTemplate> 
                                <asp:CheckBox runat="Server" ID="myselect" OnLoad="ClearSAll" /> 
                            </ItemTemplate> 
                        </radG:GridTemplateColumn> 
                    </Columns> 
                    <EditFormSettings UserControlName="~/editform.ascx" EditFormType="WebUserControl" > 
                        <EditColumn UniqueName="EditCommandColumn">  
                        </EditColumn>                          
                    </EditFormSettings> 
                    <NoRecordsTemplate> 
                        <table width="100%">  
                            <tr> 
                                <td align="center">  
                                    There are no items to display. Please check your selection criteria and retry.  
                                </td> 
                            </tr> 
                        </table> 
                    </NoRecordsTemplate> 
                    <FooterStyle Height="0px" /> 
                    <ExpandCollapseColumn Visible="False">  
                        <HeaderStyle /> 
                    </ExpandCollapseColumn> 
                    <RowIndicatorColumn Visible="False">  
                        <HeaderStyle /> 
                    </RowIndicatorColumn> 
                </MasterTableView>                 
                <ClientSettings AllowGroupExpandCollapse="True" AllowDragToGroup="True" AllowColumnsReorder="True" 
                    ColumnsReorderMethod="Reorder" ApplyStylesOnClient="True">  
                    <Selecting AllowRowSelect="True" /> 
                    <Resizing AllowColumnResize="True" ResizeGridOnColumnResize="True" />                     
                </ClientSettings> 
            </radG:RadGrid> 
padmaja
Top achievements
Rank 1
 answered on 21 May 2009
1 answer
110 views
HI,
  When  using load-on-demand feature for a multicolumn combobox, I refered to the tutorial adding new items into the combobox in ItemRequested event handler. Instead of adding combobox item, I had to create a new datatable object and re-assign DataSource and DataBind() (because there is no way to add a multicolumn item). The items in combobox repeated every time Datasource got assigned. According to the document, combobox item will be cleared when DataSource is assigned, is this a problem ? of course, I can solve this problem by reprocess the datatable to include only those items not previously added  to  the combobox. 
Saed
Top achievements
Rank 1
 answered on 20 May 2009
2 answers
112 views
I have a radcombo box that has the users First Name and Last Name. When the user selects I want both the first and last name to appear in the selected value, Like after you select the name it will say like John Smith. I am only able to get John.
Saed
Top achievements
Rank 1
 answered on 20 May 2009
1 answer
163 views

I have a radcombobox like this :

 

<

 

telerik:RadComboBox ID="rcbClinic" runat="server" Skin="Office2007" Width="300px"

 

 

 

 

 

AutoPostBack="true" HighlightTemplatedItems="true" DataTextField="Title" AllowCustomText="false" DataValueField="ID">

 

 

 

 

 

<itemtemplate>

 

 

 

 

 

<table style="width: 100%; text-align: left">

 

 

 

 

 

<tr>

 

 

 

 

 

<td style="width: 50px; font-size: 11px; font-family: Tahoma; color: Black">

 

 

 

 

<%

# DataBinder.Eval(Container.DataItem, "Date") %>

 

 

</td>

 

 

 

 

 

<td style="width: 100%; font-size: 11px; font-family: Tahoma; color: Black">

 

 

 

 

<%

# DataBinder.Eval(Container.DataItem, "Title") %>

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

</itemtemplate>

 

 

 

 

 

</telerik:RadComboBox>

In this combo I have 2 items like this :

20/05/2009 Clinic 1
20/05/2009 Clinic 1

Each item have an ID (Guid) used like DataValueField but when I enter in my page first time, If I select second Item, SelectedIndexChanged is fire. After this If I select first item, no SelectedIndexChanged event is fired. When I check HTML, I see that value of my combobox is not my Guid but the text of my item selected. Why ????

Is it possible to fired SelectedIndexChanged on each item change even if text is the same ?

Thanks

 

Saed
Top achievements
Rank 1
 answered on 20 May 2009
3 answers
154 views
Hi Team,

Assume cmbSectionTitle  is my RadComboBox. I need to do the following operations in JavaScript or with page post back.

 

cmbSectionTitle.DataSource =

null;

 

cmbSectionTitle.Text =

string.Empty;

 



Could you please help me out....

Thanks,
--Srinath
Saed
Top achievements
Rank 1
 answered on 20 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?