Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
156 views
What is the "Today" button for? Whenever I click it the month changes to the current month but that's all that happens. The current date isn't selected.
Princy
Top achievements
Rank 2
 answered on 04 Aug 2009
7 answers
800 views
Hi All,

I am facing a new problem with RadProgressArea control. If i browse any file and on clicking Cancel button Progress bar is showing. How to hide/remove progress bar when user is clicking any button other than Upload button?
Genady Sergeev
Telerik team
 answered on 04 Aug 2009
1 answer
175 views
I learned how to arise an alert box RadAjaxManager1.Alert() but now i need to prompt the user if he wants to takes a further action?
If yes then do something if no do something else.

Thanks
Shinu
Top achievements
Rank 2
 answered on 04 Aug 2009
1 answer
125 views
Hi, 

I've a radpanel bar and I've 3 radpnelItems with a radgrid in each one.
My question is I need to find out the selected rows in a grid.
I did the foll:

RadGrid m_obRecipientGroupGrid = (RadGrid)m_ctlRecipientPanelBar.FindItemByValue("RadPanelRecipientGroup").FindControl("m_radRecipientGroupGrid");
     
       

         foreach (GridDataItem obItem in m_obRecipientGroupGrid.SelectedItems)
         {
                  int iGroupId = Convert.ToInt32(obItem["GroupId"].Text);
                  objRecipientGroupIdList.Add(iGroupId);
         
         }

Note:;  m_ctlRecipientPanelBar is the name of the panel bar

        m_radRecipientGroupGrid is the name of the radgrid
       

When i checked a checkbox(it automatically means the rows is selected right) and click on save(in my page), I do the above code, but it never goes to this loop though i've selected few checkboxes.

and as a result the list is empty.

But the same logic (like the same code) i did in my radgrid without a radpanel item and it worked. why didn't this when i put the radgrid in a radpanel bar doesn't give me the selected rows.
pls help me. how do i do this???

Note: i also have allowmultirowselect = true.
m_radRecipientGroupGrid .clientsettings.selecting.AllowRowSelect = true;

Pls do help me

Sebastian
Telerik team
 answered on 04 Aug 2009
2 answers
96 views
hi i have radgrid
I have added radajax manager   as follows

<AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="grdException">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="grdException" />
                        </UpdatedControls>
             </telerik:AjaxSetting>

 but when  page load occures the error comes as controls cannot be modified beacause controls contains <% %> blocks
Daniel
Telerik team
 answered on 04 Aug 2009
3 answers
166 views
Dear sir,

How can we create Dock's Title Template dynamically .

thanks with regards
Jim
Top achievements
Rank 1
 answered on 04 Aug 2009
5 answers
230 views
Hi, I wondered if you had a sample to help me out.

I create docks dynamically. All content within each dock is contained within an UpdatePanel. Thus I can change the content in a partial postback without a browser repaint - nice (in fact it's the result of a drag-drop dfrom your tree control).

However, I want to be able to change the title of a dock within a partial postback. Thus I want the title of the dock to be within an UpdatePanel so I can tell the AJAX framework to repaint it.

Do you have a ready-made solution or sample?

thanks

Matt

Jim
Top achievements
Rank 1
 answered on 04 Aug 2009
2 answers
202 views
Hi

I have a nested RadGrid, set up for In place editing.

The Top level is fine in that when I hit add new I get 1 text box (thats all there is ID & Name) for my value and icons to add or cancel.

The data is passed back and handled by a proc.

However, the nested grid behaves differently, there are 2 text boxes one prefixed with a : and the icons have gone and in its place 'insert' & 'cancel'.

The path to the images is the same, any ideas what is going on.

Andy
<telerik:RadGrid   
    ID="rgOrganisation"   
    runat="server"   
    GridLines="None" 
    Width="500px"   
    AutoGenerateColumns="False" 
    Skin="CPSM"   
    EnableEmbeddedSkins="False">  
      
        <MasterTableView DataKeyNames="Organisation_ID" EditMode="InPlace" CommandItemDisplay="None">  
            <Columns> 
                <telerik:GridBoundColumn DataField="Organisation_ID" DataType="System.Int32" HeaderText="Organisation_ID" ReadOnly="True" SortExpression="Area_ID" UniqueName="Organisation_ID" Visible="False"></telerik:GridBoundColumn> 
                <telerik:GridBoundColumn DataField="Organisation" HeaderText="Organisation" SortExpression="Organisation" UniqueName="Organisation"></telerik:GridBoundColumn> 
            </Columns> 
 
            <RowIndicatorColumn><HeaderStyle Width="20px" /></RowIndicatorColumn>  
            <ExpandCollapseColumn><HeaderStyle Width="20px" /></ExpandCollapseColumn>  
              
            <DetailTables> 
                       <telerik:GridTableView runat="server" CommandItemDisplay="Bottom" DataKeyNames="Organisation_ID" Width="100%" > 
                             
                           <Columns> 
                               <telerik:GridEditCommandColumn CancelImageUrl="../App_Themes/Default/Grid/Cancel.gif" EditImageUrl="../App_Themes/Default/Grid/Edit.gif" InsertImageUrl="../App_Themes/Default/Grid/Update.gif" UpdateImageUrl="../App_Themes/Default/Grid/Update.gif" ButtonType="ImageButton"><HeaderStyle Width="15px" /><ItemStyle Width="15px" /></telerik:GridEditCommandColumn> 
                               <telerik:GridBoundColumn DataField="Organisation_ID"  DataType="System.Int32" UniqueName="Organisation_ID" Visible="false"></telerik:GridBoundColumn>        
                               <telerik:GridBoundColumn DataField="Organisation"  HeaderText="Organisation" ></telerik:GridBoundColumn> 
                               <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" Text="Delete" ImageUrl="../App_Themes/Default/Grid/delete.gif" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you want to delete this Location"><HeaderStyle Width="10px" /><ItemStyle Width="10px" /></telerik:GridButtonColumn> 
                           </Columns> 
                            
                           <CommandItemSettings AddNewRecordText="Add new Division" RefreshText=" " /> 
                           <RowIndicatorColumn><HeaderStyle Width="20px" /></RowIndicatorColumn>  
                           <ExpandCollapseColumn><HeaderStyle Width="20px" /></ExpandCollapseColumn>  
                             
                       </telerik:GridTableView> 
                    </DetailTables> 
          
        </MasterTableView> 
    </telerik:RadGrid> 
Andy Green
Top achievements
Rank 1
 answered on 04 Aug 2009
1 answer
159 views
I have a grid with the link column. When allow grouping and drag the link column it gives me error - is there way to exclude a column from grouping? I wan to disable the link column, so that use should not be able to group on the link column.

Thanks,
Santosh
Princy
Top achievements
Rank 2
 answered on 04 Aug 2009
2 answers
838 views
Hi,

I have added a RAD Grid in my page. I am executing a query and preparing a data table and assigning that to the rad grid, The data is populating in the grid perfectly. I do not want to show few columns to the user but i actually want to use those values.

for hiding the first column i used the following code

RadGrid1.Columns[1].Display =

false;  But showed me an error.
Then i tried with the following code

 

RadGrid1.MasterTableView.RenderColumns[1].Display =

false;

 

 

This did not show me an error but did not hide the column

Guide me how to go about this.

Jidesh

Jidesh Guptha
Top achievements
Rank 1
 answered on 04 Aug 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?