Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
156 views
I have a RadCombox bound to sql datasource with some dropdown items. There is one column called "Other". I want when users select the other, it enable a corresponding RadTextbox so they can input an item and on save button click the item get save to the other column in the database. Any example?
Ebenezer
Top achievements
Rank 1
 answered on 15 Mar 2013
5 answers
120 views
how to open popup box in orgchart drill option ? from database ?
Plamen
Telerik team
 answered on 15 Mar 2013
1 answer
157 views
I have a paged radGrid with SaveScrollPosition="true".  This way if they scroll left/right and page, the horizontal scroll position is saved which is what I want (there is a flicker/refresh where the columns jump left/right but that's another issue for later).

However, If I issue a more refined search and a new result set,  I want to reset the page back to page 1 (I'm setting CurrentPageIndex = 0 which works).  However, I also want move the horizontal postion back to the starting point.  How do I do that.  It seems to be a client-setting but I'm not sure how.

Thanks, Dave

David
Top achievements
Rank 1
 answered on 15 Mar 2013
3 answers
100 views
hi there,
i using RadComboBox and RadTreeView together. i use the AjaxPanel in RadComboBox's itemtemplate but also and  sometimes on some forms of our projects that Which has been used Master AjaxPanel , we face with this JS Error!!!

Error: Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Script control 'SimpleTreeDownTree' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
Source File: http://localhost:2518/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=...

is there any idea use inner AjaxPanel inside master Ajax panel that have not conflict together?
          
<telerik:RadComboBox ID="SimpleTreeDownItems" runat="server" Height="255px" Width="420px"
               AllowCustomText="true" EmptyMessage="Select Anythings" ToolTip="Select" Style="vertical-align: middle;"
               OnDataBound="SimpleTreeDownItems_DataBound" OnPreRender="SimpleTreeDownItems_PreRender" OnClientDropDownOpened="SimpleTreeDownItems_OnClientDropDownOpenedHandler" >
               <collapseanimation duration="400" type="inback" />
               <expandanimation duration="400" type="inback" />
               <itemtemplate>
                       <div   class="TreeViewWrapper" onclick="StopPropagation" >
                   <telerik:RadAjaxPanel runat="server" ID="SlaveAjaxPanel" >
                        <telerik:RadTreeView OnNodeDataBound="SimpleTreeDownTree_NodeDataBound" runat="server"
                            ID="SimpleTreeDownTree" OnNodeClick="NodeClicking" Width="411" Height="252" style="overflow-x:hidden; overflow-y:auto"  >
                           <Nodes>
                           </Nodes>
                       </telerik:RadTreeView>
                       </telerik:RadAjaxPanel>
                   </div>
               </itemtemplate>
               <expandanimation type="InBack"></expandanimation>
               <items>
                     <telerik:RadComboBoxItem Text="" />
               </items>
               <collapseanimation type="InBack"></collapseanimation>
           </telerik:RadComboBox>




Maria Ilieva
Telerik team
 answered on 15 Mar 2013
3 answers
384 views
I'm switching a web page over from using the GridView control to using the RadGrid control.  One thing I'm stuck on is how to right-indent text in an item.

As you'll see in the first screenshot, the illustrated column is correctly indented.  I did this very simply with this CSS Class:

.indentRight {padding-right:20px}

However, that no longer seems to have any effect in the RadGrid.  I tried changing several things but to no avail.  Here's the markup code in question:

              <telerik:GridBoundColumn DataField="TaskStdHours" HeaderText="Std Hours" ReadOnly="true" SortExpression="TaskStdHours" DataFormatString="{0:F2}"><br>                <HeaderStyle Width="70px" HorizontalAlign="Center" /><br>                <ItemStyle HorizontalAlign="Right" CssClass="indentRight" /><br>              </telerik:GridBoundColumn><br>

What do I need to do to make it look the same as in the GridView?

Robert W.

Kostadin
Telerik team
 answered on 15 Mar 2013
1 answer
207 views
Hi,
Can we use RadFormDecorator to decorate HTML table. Or is there any alternative to apply css to table similar like RadGrid?
Bozhidar
Telerik team
 answered on 15 Mar 2013
2 answers
114 views
I have a field in my grid for an email address.  I would like to add a regular expression validator to ensure the format.  Currently I have a required field validator which works but is not sufficient.  I've searched but haven't found a working example.

I also have a date field and would like to set a valid range validator to it but I need to set the min/max values from my code behind file.  I have managed to set the min/max date of the editor using the ItemDataBound event as a work around but would like to know if this is possible.

Thanks.
J
Top achievements
Rank 1
 answered on 15 Mar 2013
8 answers
218 views
Hello,

I'am using a RadAjaxManagerProxy in a page with a RadAjaxManager in the MasterPage, but I discovered that we c'ant use The DfaultLoadingPanelID in the proxy, is there a reason or is it missing from the 1424 release ?

Regards
CS
Richard
Top achievements
Rank 1
 answered on 15 Mar 2013
7 answers
251 views
I set: ExplorerMode="Thumbnails"
The images are about 10 mb each, and it takes a long time to load the images to thumbnails visible.
Is there any way to get around the problem?
Vessy
Telerik team
 answered on 15 Mar 2013
2 answers
168 views

Hi all,

I need to do some backend tasks when the user clicks the 'Select All'-Checkbox at the top of my grid. I followed this approach and it works fine: http://www.telerik.com/community/forums/aspnet-ajax/grid/gridclientselectcolumn-select-all.aspx#1469954

 

In the backend I then select ALL documents on ALL pages. I go to page 2 and all documents are selected as expected. But then I want to deselect all, and this does not work, because the deselect-click is not recognized on first try. Then you have to select all again and then deselect, on the second try it works fine.

 

I think the problem is caused by the auto-checked 'Select all'-Checkbox if all docs on current page are selected:

  1. I'm on page 1.
  2. I click 'Select all'.
  3. Handler is fired. In the backend I mark all documents as selected.
  4. I switch to page 2. All documents are selected as expected. BUT also the 'Select all'-Button in the Header is checked.
  5. I unselect the 'Select all' Button on the header, but the handler is not fired.
  6. I select the 'Select all' button on the header, now the hanlder is fired and all docs on all pages are marked as selected.
  7. I unselect the 'Select all' Button on the header and now the handler is fired, deselecting all docs on all pages.

So the problem is in step 5. I guess this is because by default the 'Select all' is not checked, but after all docs are displayed and the grid notices that all are checked, the 'Select all' is also checked automatically, but without notifying the backend handler. So when I uncheck the 'Select all' checkbox (step 5), the handler does not fire because the checkbox is 'still unchecked' (as the backend did not know that the grid checked the 'select all' checkbox in the meantime).

Might this be the reason? And if so, is there a workaround somehow? For example by disabling the 'Select all' checkbox to be checked if all docs on the page are checked? I've read in another posting that this is the expected behaviour but maybe there is chance to remote it?

Many thanks in advance!

Kai
Top achievements
Rank 2
 answered on 15 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?