Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
189 views
Hi,
I am using radsplitter in my application..
It should appear appear in the right side of the page, i am using the Java script to set the size of the Splitter when user closes and opens the Splitter
When I open the Spliiter, I have Rad Panel bar inside the Spliiter, in one of the Panel bars i have a button, when i click the button the Page is not responding and the browser is closing automatically.

so when ever i click the button in the splitter when the DOC is selected a pop raised with the following error  
"A Script in the page may be busy , or it may have stopped responding".

I have attached Image file which contains the error message that i am getting when i click the button

Below is the code that I have Used:

<telerik:RadScriptBlock ID="rcb" runat="server">
<script type="text/javascript">
    function Servicechangesize() {
        var splitter = $find("<%=RadSplitter_CreateService.ClientID%>");
        var width = 335;
        splitter.set_width(width);
    }

    function ServiceChangeUndockSize() {
        var splitter = $find("<%=RadSplitter_CreateService.ClientID%>");
        var width = 22;
        splitter.set_width(width);
    }
</script>
</telerik:RadScriptBlock>

<telerik:RadSplitter ID="RadSplitter_CreateService" runat="server" Orientation="Vertical" Width="25"
                             VisibleDuringInit="false" Height="565" Skin="Outlook">
                           <telerik:RadPane ID="RadPane_CreateService" runat="server" BackColor="#DEE0C8">
                                <telerik:RadSlidingZone ID="RadSlidingZone_CreateService" runat="server" BorderColor="AliceBlue" BorderWidth="3px" BorderStyle="Solid"
                                     SlideDirection="Left">   
                                  <telerik:RadSlidingPane ID="RadSlidingPane_CreateService" runat="server" Title="Widgets" EnableDock="true" EnableResize="false"  
                                                                        OnClientUndocked="ServiceChangeUndockSize" OnClientDocked="Servicechangesize" Width="310" BorderColor="AliceBlue"                                                                                                        
                                                                       style="border-style:solid;border-width:3px;" BorderWidth="3px" BorderStyle="Solid" >
                                    <telerik:RadPanelBar runat="server" ID="RadPanelBar1" Height="100%" 
                                                                     ExpandMode="FullExpandedItem" Skin="Outlook"  Width="100%">
                                        <Items>
                                            <telerik:RadPanelItem Text="Email" ImageUrl="Styles/Images/note.gif" Expanded="True">
                                                <Items>
                                                     <telerik:RadPanelItem Value="AccountInformation" runat="server">
                                                       <ItemTemplate>
                                                            <div class="text" style="background-color: #fff">
                                                                 <uc1:email ID="email1" runat="server" />
                                                            </div>
                                                       </ItemTemplate>
                                                     </telerik:RadPanelItem>
                                                </Items>
                                            </telerik:RadPanelItem>
                                            <telerik:RadPanelItem Text="Mail" ImageUrl="Styles/Images/email.png" Expanded="True">
                                                    <Items>
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/sent.gif" Text="Personal Folders" />
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/del.png" Text="Deleted Items" />
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/inbox.gif" Text="Inbox" />
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/sent.gif" Text="My Mail" />
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/sent.gif" Text="Sent Items" />
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/sent.gif" Text="Outbox" />
                                                        <telerik:RadPanelItem ImageUrl="Styles/Images/sent.gif" Text="Search Folders" />
                                                    </Items>
                                            </telerik:RadPanelItem>
                                            <telerik:RadPanelItem Text="Calender" ImageUrl="Styles/Images/cal.gif" >
                                                    <Items>
                                                        <telerik:RadPanelItem Value="AccountInformation" runat="server">
                                                            <ItemTemplate>
                                                                <div class="text" style="background-color: #fff">
                                                                    <telerik:RadCalendar ID="RadCalendar1" runat="server" Skin="Windows7" Width="240px">
                                                                   </telerik:RadCalendar>
                                                                </div>
                                                            </ItemTemplate>
                                                        </telerik:RadPanelItem>
                                                    </Items>
                                             </telerik:RadPanelItem>
                                            <telerik:RadPanelItem Text="File Upload"  ImageUrl="Styles/Images/task.gif">
                                                <Items>
                                                    <telerik:RadPanelItem Value="AccountInformation" runat="server">
                                                        <ItemTemplate>
                                                            <div class="text" style="background-color: #fff">
                                                                    <asp:Button runat="server" CssClass="save_btn" id="btnTest"  Text="Save" onclick="btnTest_Click"/>
                                                             </div>
                                                    </ItemTemplate>
                                                </telerik:RadPanelItem>
                                            </Items>
                                        </telerik:RadPanelItem>
                                        </Items>
                                    </telerik:RadPanelBar>
                                 </telerik:RadSlidingPane>
                               </telerik:RadSlidingZone>                            
                            </telerik:RadPane>  
                       </telerik:RadSplitter>


Please help me in doing this.

Thanks & Regards
N Aravind







Dobromir
Telerik team
 answered on 17 Apr 2012
1 answer
54 views
If I have text in the editor and attempt to get it on post bacl in IE9, it always returns an empty string.  Although in firefox and Chrome, this doesn't happen and it works grea.   Any ideas on how to get the Content text in IE? 
Rumen
Telerik team
 answered on 17 Apr 2012
4 answers
671 views
Hi all.

Just a simple question. Can I have the button inside the textbox in a RadTextBox? I need that to comply with the design of the website, I can't have it to the left or right of the textbox part.

Thanks.
Jose Guay
Richard
Top achievements
Rank 1
 answered on 17 Apr 2012
0 answers
52 views
I have an Grid with a TemplateColumn in there i have an RadTextBox, when i hit the export button nothing gets displayed.
Once I change the RadTextBox to ASP:TextBox everything works as expected, am i doing something wrong or does telerik not support telerik stuff. :)

Same goes for RadNumericTextBox...
Random
Top achievements
Rank 1
 asked on 17 Apr 2012
1 answer
66 views
Hi, i'm using rad splitter/slidingZone and several slidingPane inside, but i need that one of these SlidingPane not show the Pane and works like a button. In summary i need that one Sliding pane hide the pane and click on it and redirect to another page

...is there a way to do this? 


regards,
Orlando.
Dobromir
Telerik team
 answered on 17 Apr 2012
2 answers
155 views
I'm currently using the RadGrid's "Export to PDF" functionality to generate a report that is printed and signed by the different department heads in our organization. I'd like to add a header to the first page of the printed report that has the company logo and spaces for the department heads to sign.

I've tried following the suggestion in this thread:
http://www.telerik.com/community/forums/aspnet-ajax/grid/export-rad-grid-to-excel-pdf-and-ms-word-with-headers.aspx 

Using the test code provided works fine, but when I attempt to add a table to e.RawHTML my additions are not rendered.

I use the following PDFExporting method:

protected void rgReport_PDFExporting(object sender, GridPdfExportingArgs e)
{
    e.RawHTML = "<table><tr><td>Test</td></tr></table>" + e.RawHTML;
}

The outputted pdf has the contents of the radgrid, but the table with the word "test" in it, which should appear at the top of the document, is not there.

I imagine the problem has to do with the PDF export requiring valid XHTML, but from what I can see my markup should be valid. Can someone let me know what I'm missing here?
Kevin Bauer
Top achievements
Rank 1
 answered on 17 Apr 2012
1 answer
80 views
I was just looking at this link which illustrates using the RadGrid to bind and edit against a webservice. I can't seem to find a demo or example of editing against a web service for the non-mvc version of the RadGrid. Could you please point me to where such example is or perhaps provide one?

Thanks,
-James
Richard
Top achievements
Rank 1
 answered on 17 Apr 2012
1 answer
43 views
How we  increase/decrease splitter height dynamically from the click event of child forms.
plz revert as soon as posible.
thank you 
Dobromir
Telerik team
 answered on 17 Apr 2012
1 answer
84 views
Hi,
 I am using splitbar and splitter. I have set SplitBarsSize="1", so that instead of thick splitbar, a thin line is coming. Everything is working fine except resizing of panes using mouse. Panes are resizing but it is very difficult to get hold of splitbar for resizing. Is there any way to keep splitbar thin and still make it easy to resize using mouse.
Regards,
Mahesh
Dobromir
Telerik team
 answered on 17 Apr 2012
2 answers
75 views
Hi,
I Know i can write code like this to hide itens from grid in edit mode:

if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
   GridEditableItem item = e.Item as GridEditableItem;
    item["Price"].Visible = false;
 
}


But this way it only hiddes the data controls (a dropdownlist for example), leaving the label and the grid row visibles (this is in EditForms mode). Is there a way to hide this too ?

Thanks in advance.
Fred
Top achievements
Rank 1
 answered on 17 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?