Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
176 views
I'm new to Telerik and feel like I'm trying to do something advanced for my first real assignment.  What I'm trying to do is use a RadTreeList to manage options for a item where the entire list will be in edit mode (from the start and only used in edit mode).  I'd like to be able to use the select column to allow for recursive selections and I would like to have text boxes with the detailed items at the "base" of the tree.  I've tried to give an example below, but I don't know that it does what I need justice.

Another important factor is that this RadTreeList appears within a (pop-up) UserControl that is the Edit for a RadGrid.

Let me know if you need anything else to assist with my question.  Thank you.


Checkbox     Top Level     Sub Level   Item   TextBox1   TextBox2
[Checkbox]   Top Level 1
[Checkbox]                       Sub Level 1
[Checkbox]                                          ABC   [Textbox]   [Textbox]
[Checkbox]                                          EDF   [Textbox]   [Textbox]
[Checkbox]                                          PLK   [Textbox]   [Textbox]
[Checkbox]                       Sub Level 2
[Checkbox]                                          QWE   [Textbox]   [Textbox]
[Checkbox]                                          PLL   [Textbox]   [Textbox]
[Checkbox]   Top Level 2
[Checkbox]                       Sub Level 1
[Checkbox]                                          ZCV   [Textbox]   [Textbox]
[Checkbox]                                          IKJ   [Textbox]   [Textbox]
[Checkbox]                                          ESD   [Textbox]   [Textbox]
[Checkbox]                       Sub Level 2
[Checkbox]                                          ESM   [Textbox]   [Textbox]
[Checkbox]                                          GHD   [Textbox]   [Textbox]
Marin
Telerik team
 answered on 29 Jul 2011
1 answer
94 views
Hello,
I have a grid with a page size of 10 rows. When I groups the grid it groups only the records of the page, is there any way to group records more than just the current page and show it?

Like this grid http://demos.devexpress.com/ASPxGridViewDemos/GroupingSorting/Grouping.aspx

thanks!!!
Princy
Top achievements
Rank 2
 answered on 29 Jul 2011
6 answers
193 views

What I've done is built a "SmartPart" application in SharePoint 2007 which I'm trying to convert to SharePoint 2010. If you're not familiar with SmartPart, it's essentially a wrapper webpart that lets you load .ascx controls from a designated folder on the SharePoint server.

I've used Telerik controls within a series of .ascx controls. In 2007 everything works fine. In SharePoint 2010 I'm experiencing a ScriptHandler.axd "object expected" error whenever I trigger a partial postback to change the mode on a DetailsView control from ReadOnly to Edit or Insert. Changing from Edit/Insert back to ReadOnly, or loading the page with the DetailsView already in Edit/Insert mode does not cause the error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Tue, 15 Feb 2011 18:25:21 UTC

Message: Object expected
Line: 5
Char: 32749
Code: 0
URI: http://myHost/ScriptResource.axd?d=5IJVuvjGYmphMWCAkLfCmwAPXrthSXiUWcsZ2-XJPFVyLeGXjv_VkQVwhs7Rbfagz910Hn9YGXyPmImRLglJdlDX3fR00mQLdqSAApxlnZ4LBCFPJ4ROQskZ8-rvBIOcVRyr6yuAXk__TG9yo6erRI62vE01&t=5c2f384e

 
The DetailsView control is using DynamicFields which are constructed from DynamicData FieldTemplates. In these field templates I'm using Telerik controls such as RadTextBox, RadTooltip, RadDateTimePicker, etc. Those controls are what cause the error after a partial postback. As I said, if I load the page in edit/insert mode to begin with, everything is fine. However if I load the page in ReadOnly mode, then trigger a partial postback which causes the DynamicFields to switch from ASP Labels into Telerik Controls the error happens. I want to reiterate that this worked fine in MOSS 2007.

I also found that the ScriptResource it's referring to is MicrosoftAJAX.js, but I'm not sure what it's expecting at Char 32749. Any ideas?

Tsvetoslav
Telerik team
 answered on 29 Jul 2011
1 answer
94 views
How to drag to Select area cell?


Thanks in advance!
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2011
2 answers
242 views
I am using a radcombox with loadondemand and allowcustomtext = true. After Form submit the use is redirected to another page. Now if the browser back button is pressed then the selected value in the dropdown is lost. How can the value be persisted just like a regular texbox or dropdown?

 <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
  <telerik:RadComboBox ID="Operating_Unit" runat="server" Width="250px" Height="150px"
                
                
                 EmptyMessage="" EnableLoadOnDemand="True"  AllowCustomText="true" OnItemsRequested="operating_unit_ItemsRequested"   ShowMoreResultsBox="true" 
                    EnableVirtualScrolling="true"  
                >
            </telerik:RadComboBox>
<asp:Button ID="btn" runat="server" Text="button" onclick="btn_Click" />
</telerik:RadAjaxPanel>

Princy
Top achievements
Rank 2
 answered on 29 Jul 2011
3 answers
169 views
sorting is not working within a radajaxpanel.  My grid is below.  Is there anything I've missed?

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"/>    
                       <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">     
                       <telerik:RadGrid ID="grdTrainingInstitutes" 
                           runat="server" 
                           AllowSorting="true" 
                           AllowPaging="true"
                           AutoGenerateColumns="false" 
                           PageSize="20"
                           RegisterWithScriptManager="true"
                           OnNeedDataSource="grdResults_NeedDataSource"
                           TabIndex="301">        
                           <MasterTableView>
                               <Columns>
                                   <telerik:GridBoundColumn DataField="train_inst_id" UniqueName="TrainingInstituteID" HeaderText="ID" 
                                       HeaderStyle-Width="25" ItemStyle-Wrap="false" HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true" HeaderStyle-VerticalAlign="Top" ></telerik:GridBoundColumn>  
                                   <telerik:GridBoundColumn SortExpression="train_inst_nam" HeaderText="Name" DataField="train_inst_nam" HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true"  HeaderStyle-VerticalAlign="Top" HeaderStyle-Width="100px" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn SortExpression="address_line" HeaderText="Address" DataField="address_line" HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true" HeaderStyle-VerticalAlign="Top" HeaderStyle-Width="150px" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn SortExpression="geographic_area" HeaderText="Geographic Location" DataField="geographic_area" HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true" HeaderStyle-VerticalAlign="Top" HeaderStyle-Width="60px" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
                               </Columns>
                           </MasterTableView>
                           <ClientSettings AllowKeyboardNavigation="true" AllowDragToGroup="False" AllowColumnsReorder="False">
                               <Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />
                               <KeyboardNavigationSettings AllowSubmitOnEnter="false" AllowActiveRowCycle="true" EnableKeyboardShortcuts="false" FocusKey="Y" />  
                               <ClientEvents OnRowClick="RowSelected" OnRowDblClick="GridDblClick" OnKeyPress="GridKeyPress" OnGridCreated="GridCreated" />                       
                               <Resizing AllowColumnResize="True" />
                           </ClientSettings>
                           <PagerStyle Mode="NextPrevAndNumeric" />
                       </telerik:RadGrid>
                       </telerik:RadAjaxPanel>


thanks.
Princy
Top achievements
Rank 2
 answered on 29 Jul 2011
1 answer
144 views
Hi all,

I set the PageSize="50" 
When my page size is smaller 50, the paging still appears.
Is there a way to make paging disable when it's smaller than 50 and enable when lager than 50?

Thanks.

Andy.
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2011
1 answer
94 views
HI,

How do I enable the refresh button for ASP.Net grid control, similar to what we have for ASP.Net MVC grid control?

Thanks
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2011
6 answers
431 views
Greetings to telerik team and to all the telerik community.

I've just noticed that rebinding the grid using the command RadGrid.Rebind() Doesn't fires the NeedDataSource event.
Only after adding the row:

 

this.RadGrid.DataSource = null;

 

before the
RadGrid.Rebind() everything is working properly.

Am i missing something out?

Please advice.
Thanks,
Vadim Rasin.
Iana Tsolova
Telerik team
 answered on 29 Jul 2011
1 answer
318 views
Hi guys,
I need your help to solve the problem.
I have two RadTimePicker control:

<

 

telerik:RadTimePicker ID="StartTime" runat="server" Width="90px" Height="12px" Skin="Vista" PopupDirection="BottomLeft" Culture="en-US" >

 

 

<TimeView runat="server" ID="TimeView1" Columns="3" RenderDirection="Horizontal" ></TimeView>

 

 

<ClientEvents OnDateSelected="DateSelected" />

 

 

<TimePopupButton ImageUrl="../../Image/clock_icon.jpg" HoverImageUrl="../../Image/clock_icon.jpg" />

 

 

<DateInput TabIndex="5" Font-Bold="true" DisabledStyle-Font-Bold="true" DisabledStyle-BackColor="#EFEFEF" runat="server" DateFormat="h:mm tt" DisplayDateFormat="h:mm tt"></DateInput>

 

 

</telerik:RadTimePicker>

 



<

 

telerik:RadTimePicker ID="EndTime" runat="server" Width="90px" Height="12px" Skin="Vista" PopupDirection="BottomLeft" Culture="en-US" >

 

 

<TimeView runat="server" ID="TimeView2" Columns="3" RenderDirection="Horizontal" ></TimeView>

 

 

<ClientEvents OnDateSelected="DateSelected" />

 

 

<TimePopupButton ImageUrl="../../Image/clock_icon.jpg" HoverImageUrl="../../Image/clock_icon.jpg" />

 

 

<DateInput TabIndex="6" Font-Bold="true" DisabledStyle-Font-Bold="true" DisabledStyle-BackColor="#EFEFEF" runat="server" DateFormat="h:mm tt" DisplayDateFormat="h:mm tt"></DateInput>

 

 

</telerik:RadTimePicker>

 



When I am entering in StartTime Box 0930 - it shows 9:30 AM which is correct
When I am entering in EndTimeBox  315 - it shows 3:15 AM - this is not correct.I need to see in EndTime Box 3:15 PM

Please Help me with this.
Thanks so much.
Shinu
Top achievements
Rank 2
 answered on 29 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?