Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
154 views
Hello.

How I can save/load the state on slidingpane (to remember the expanded/docked page). On forum I have founded this http://demos.telerik.com/aspnet-ajax/splitter/examples/saveloadstateonserver/defaultcs.aspx , but how I can save/load the state of RadSlidingZone/RadSlidingPane? Do you have any ideas?

Regards,
Roman
Roman Shkenjov
Top achievements
Rank 1
 answered on 13 Jan 2010
1 answer
97 views
On my aspx page I have 2 rad combo boxes and a rad panel bar.  When the user selects values from both combo boxes, I want the user control to load.  I have looked at several forums on here and even tried to google it, but nothing works.  Please help me figure out what is going on. 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">     
        <AjaxSettings>    
            <telerik:AjaxSetting AjaxControlID="pnlSelect">     
                <UpdatedControls>    
                    <telerik:AjaxUpdatedControl ControlID="pnlSelect"/>     
                </UpdatedControls>    
            </telerik:AjaxSetting>    
        </AjaxSettings>    
    </telerik:RadAjaxManager>    
    
<asp:Panel ID="pnlSelect" runat="server">     
    <asp:HiddenField ID="hfPOId" runat="server" />    
    <table>    
        <tr>    
            <td>    
                <asp:Label ID="Label1" runat="server" Text="Purchase Order: " CssClass="lbl" />    
                <telerik:RadComboBox ID="rcbPurchaseOrder" runat="server" Width="250px" Height="150px"    
                    EmptyMessage="Select a Purchase Order" EnableLoadOnDemand="True" ShowMoreResultsBox="true"    
                    EnableVirtualScrolling="true"    
                    OnItemsRequested="rcbPurchaseOrder_ItemsRequested" AutoPostBack="True"      
                    onselectedindexchanged="rcbPurchaseOrder_SelectedIndexChanged" />                         
            </td>    
            <td>    
                <asp:Label ID="Label2" runat="server" Text="Revision: " CssClass="lbl" />    
                <telerik:RadComboBox ID="rcbPORevision" runat="server"    
                    EmptyMessage="Select a Revision" AutoPostBack="False"      
                    onselectedindexchanged="rcbPORevision_SelectedIndexChanged" Enabled="false" />                                 
            </td>    
        </tr>    
    </table>    
</asp:Panel>    
<br />       
    
<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="100%" Visible="true">     
            <Items>    
                <telerik:RadPanelItem Text="Purchase Order Information" runat="server">     
                    <Items>    
                            <telerik:RadPanelItem runat="server">     
                            <ItemTemplate>    
                                 
                            </ItemTemplate>    
                        </telerik:RadPanelItem>    
                    </Items>    
                </telerik:RadPanelItem>    
                <telerik:RadPanelItem Text="Review">     
                    <Items>    
                        <telerik:RadPanelItem>    
                            <ItemTemplate>    
                                     
                            </ItemTemplate>    
                        </telerik:RadPanelItem>    
                    </Items>    
                </telerik:RadPanelItem>    
            </Items>    
        </telerik:RadPanelBar>   
 

private void LoadControl()  
{  
     Control userControl1 = Page.LoadControl("~/UserControls/PurchaseOrder.ascx");  
     userControl1.ID = "userControl1";  
     RadPanelItem pItem = (RadPanelItem)RadPanelBar1.FindItemByText("Purchase Order Information");  
     pItem.Items[0].Controls.Add(userControl1);  
     pItem.Expanded = true;     
}  
 
protected void Page_Load(object sender, EventArgs e)  
{  
     if (rcbPORevision.SelectedValue != string.Empty && rcbPurchaseOrder.SelectedValue != string.Empty)  
     {   
          LoadControl();  
     }  
}  
 
Shinu
Top achievements
Rank 2
 answered on 13 Jan 2010
1 answer
79 views
<telerik:RadSplitter ID="RadSplitter2" VisibleDuringInit="false" runat="server" Height="100%"
                                Width="100%" BorderStyle="Solid"> 
<telerik:RadPane runat="server" ID="RadPane2" Width="15%" Height="100%">
                                    <div class="TitleTreeView">
                                        <b>
                                            <asp:Label ID="uxPSPName" runat="server">  </asp:Label></b>
                                    </div>
</telerik:RadPane>
 <telerik:RadSplitBar runat="server" ID="RadSplitbar2" CollapseMode="Forward" Height="100%" />
 <telerik:RadPane runat="server" ID="Radpane3" Width="85%" Height="100%">
                                    <div style="height: 100%; width: 100%;">                                      
                                        <asp:ContentPlaceHolder ID="PSPContent" runat="server">
                                        </asp:ContentPlaceHolder>
                                    </div>
</telerik:RadPane>
</telerik:RadSplitter>

Inside the PSPContent Placeholder, I have a Textbox which doesnot leave me to select the Data typed in it. (select ,copy, or paste ). Works in chrome but not in IE.
 <td style="border-style: none" align="left">
                                    <telerik:RadTextBox ID="uxQuestionTitle" Width="195px" runat="server" EmptyMessage="Question Title" 
                                         MaxLength="100">
                                    </telerik:RadTextBox>
   </td>

Please let me know why the textbox is behaving in this way?

Tsvetie
Telerik team
 answered on 13 Jan 2010
1 answer
130 views
Hi:
Does Telerik have a ConfirmButtonExtender like the ajax toolkit?
Phil
Sebastian
Telerik team
 answered on 13 Jan 2010
6 answers
161 views
Telerik guys,

Please note the below,

  • I posted a thread asking for help two times before (Thread 1 and Thread 2) and couldn't find a solution yet
  • I read 70% of the 264 threads related to ajaxRequest issues and couldn't find a solution
  • I want to buy the new ASP.NET AJAX controls, but to be honest, I'm reconsidering doing that because I still can't implement the needed scenarios

What I'm looking for?

I need to implement the below scenario, and please, please, please, provide sample codes if you want to help.

1- User open page
2- Page sends an Ajax request after 5 seconds to server
3- Server receives the request and updates the first section on page through AJAX
4- First section is updated successfully, once done a new AJAX request is sent to server to update the next section
5- Server receives the request and updates the second section
6- Update the rest of sections through recurring the steps 3 to 4

I was able to implement the above scenario using Rad AJAX Panel in few hours, however I need to implement it using Rad AJAX Manager for better performance as most of you in here advised. It has been 4 days now and I'm stuck with this scenario, therefore your help is highly appreciated.

On a separate note, I reached a point where the above scenario works fine but with the below issues,
  • RAD Loading Panel does not show, yet data displayed correctly
  • RAD Loading Panel shows but no data to display
  • Data display correctly and Loading panel shows but in the wrong places/order

I already provided my code in previous threads, all what I ask for is a clear example for the above scenario in any language.

Thanks for your help in advance

Regards,

Pero
Telerik team
 answered on 13 Jan 2010
3 answers
114 views
I don't know if I'm missing something or not, but when I try using the RadGrid and bind a OpenAccessDataSource object to it, the result is a Security Exception under Medium Trust.  If I bind the OpenAccessDataSource to just a normal ASP.NET Grid or ASP.NET ListView it works just fine.  Something inside of the RadGrid is triggering the error, is there something can turn off to get this to work? 

I've used the RadGrid with a EntityDataSource Object and it worked great.  This is a weird one, any ideas?

Thanks!
--
Chris
Rosen
Telerik team
 answered on 13 Jan 2010
1 answer
116 views
Hi, I am trying to have a button to select all checkboxes from client side.
Grid
<telerik:GridTemplateColumn UniqueName="Features"
                            <ItemTemplate> 
                                <div id="resultList"
                                    <asp:CheckBox ID="checkTag" CssClass="mapcheck" runat="server" AutoPostBack="True" 
                                        OnCheckedChanged="CheckTag_CheckedChanged" /> 
 
                                <div> 
                                    <%#Eval("DisplaySearchRef")%> 
                                </div> 
                            </ItemTemplate> 
                            <HeaderStyle Width="100%" /> 
                        </telerik:GridTemplateColumn> 

JS
  for (var i = 0; i < masterTable.get_dataItems().length; i++) { 
                            var gridItemElement = masterTable.get_dataItems()[i].findControl("checkTag"); 
                            if (gridItemElement != null) { 
                                alert('ok'); 
                                gridItemElement.checked = true
                            }                             
                        } 

which doesn't seems to work, any idea?
Shinu
Top achievements
Rank 2
 answered on 13 Jan 2010
2 answers
174 views
On my page I have some text boxes along with a corresponding checkbox.
If the user enters some value in the textbox i want to select the checkbox and deselect if the user deletes the text.

I was able to get the functionality working for one textbox at a time by referring to this thread: 
http://www.telerik.com/community/forums/aspnet-ajax/input/radnumerictextbox-onvaluechanged-update-label-text.aspx

However, I want to write a single function that can be called for all the textboxes.
All my textboxes and checkboxes have similar naming convention. Like my textboxes are named TextBox1, textBox2, textBox3 and my checkboxes are named CheckBox1, checkbox2, checkbox3.

Can you help me with an example to achieve this?

Thanks.
newbie
Top achievements
Rank 1
 answered on 13 Jan 2010
2 answers
106 views
When we select any time from the list (AM/PM) it will show only AM within the textbox.

i.e.
11:00 AM and 11:00 PM( or 23:00 PM) both are displayed 11:00 AM after the time is selected and time picker pop up is closed.

Any idea what the problem could be?
Hani Arab
Top achievements
Rank 1
 answered on 12 Jan 2010
2 answers
157 views
Is there any way to have an icon AND the title text visible in a single docks titlebarContainer? 
Malichone
Top achievements
Rank 1
 answered on 12 Jan 2010
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?