Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
269 views
Hi,

we have a big amount of Rad/ASP.NET AJAX Controls on our website. Some of them are managed by RadAjaxManager. Now when we debug the application with FireBug, we recognized that on each Ajaxified Postback there will be a POST which contains dynamic data from all controls used on the site (maybe to keep the server side up to date, Values, VIEWSTATE,... ) But this POST has a size of mminimum 500KB And we still have to add much more controls to the website.
Currently if 10 controls produce postbacks that would mean that the Client will post 5MB of Data to the server (Not at the same time). this results in a slow behavior :-(

Is this behavior configurable ?
Is it possible to transfer just the data of the current control?


thank you for answer

regards

Jürgen
ManniAT
Top achievements
Rank 2
 answered on 04 Aug 2009
1 answer
71 views
I have tried demo for feature grid reordering column and I found a bug after I did the step below.

1. Resize any column width to be 0 - 10 pixels
2. Resize again to be 15 or more
3. The white bar will appear beside the resized column.

I tested on IE8.

Best regards,
Visoot

Pavlina
Telerik team
 answered on 04 Aug 2009
3 answers
232 views
Hi, All,
        I'm a new user. Today, I meet an issue just now. I need your help. Thanks!
        I add one RadSplitter and RadPane dynamic then I set RadPane's ContentUrl. But when page postback, the content in RadPane clear. Does anybody knows why? The following is my code about this issue:
        Some code in .aspx:
            <div id ="uxDivTest" runat ="server">
            </div> 
             <asp:Button ID="btnAdd" runat="server" Text="Add Pane" OnClick="btnAdd_Click" />
             <asp:Button ID="btnTest" runat="server" Text="Refresh Page" onclick="btnTest_Click" />

        Some code in .aspx.cs:

            protected void btnAdd_Click(object sender, EventArgs e) {
                       RadSplitter dispositionSplitter = new RadSplitter();
                       RadPane dispositionPanel = new RadPane();
                       dispositionSplitter.ID = "splitter";
                       dispositionPanel.ID = "panel";
                       dispositionPanel.ContentUrl = "http://www.google.com";
                       dispositionSplitter.Items.Add(dispositionPanel);

                       uxDivTest.Controls.Add(dispositionSplitter);
              }
                
                // postback page

              protected void btnTest_Click(object sender, EventArgs e) {

              }

       When I click Add Pane button, openning google in RadPane. That's all right. But when I click Refresh Page button to postback page, RadPane is empty and google site disappear.
       How shoud I make google appear all the time even when page postback?

       Another question: How shoud I add RadSplitter and RadPane dynamic in Client-Side with javascript?

        Thank you again!
         Jguo

Svetlina Anati
Telerik team
 answered on 04 Aug 2009
1 answer
108 views
Hi there,

I want to get the Selected View Start and End Date.
e.g., if Week View is selected then I need to get the Start Date as well as The End Date of Week which is currently displayed in the Scheduler.
Same in Timeline and Month View.
(Note: I am using Q3 2008 version of Telerik library)

Any urgent help in this regard will be really appriciated.

Thanks
Sajid Wahab
Peter
Telerik team
 answered on 04 Aug 2009
2 answers
215 views
Hi,
I am using two listboxes with a finish button, I want to clear the selection in the first list box in the SelectedIndexChanged client side event of second listbox and viceversa, below is the code.
 <script language="javascript" type="text/javascript">

 

 

function ExistingonSelectedIndexChanged(sender, args)

 

 

 {

 

var listbox = $find("<%= lstAvailablePlans.ClientID %>");

 

 

 

listbox.trackChanges();

 

 

 listbox.clearSelection();

listbox.commitChanges();

}

function AvailableonSelectedIndexChanged(sender, args)

 {

 

var listbox = $find("<%= lstExistingPlans.ClientID %>");

 

 

 

listbox.trackChanges();

 

listbox.clearSelection();

listbox.commitChanges();

}

 

</script>

 

 

<table cellpadding="2" cellspacing="2" border="0" class="TableBorder" width="100%">

 

 

<tr valign="top">

 

<td style="width: 105px">&nbsp;</td>

 

<td class="clsLabel">

 

<asp:Label id="lblExisting" runat="server" text="<%$ Resources:pageLabels, lblExistingPlans %>" CssClass="clsLabel"></asp:Label>

 

</td>

 

<td style="width: 100px">&nbsp;</td>

 

</tr>

 

<tr valign="top">

 

<td style="width: 105px">&nbsp;</td>

 

<td>

 

<telerik:RadListBox ID="lstExistingPlans" runat="server" Width="763px" Height="250px" CssClass="clsLable" Skin="Office2007" OnClientSelectedIndexChanged="ExistingonSelectedIndexChanged"></telerik:RadListBox>

 

</td>

 

<td style="width: 100px">&nbsp;</td>

 

 

</tr>

 

 

<tr valign="top">

 

 

<td style="width: 105px">&nbsp;</td>

 

 

<td class="clsLabel">

 

 

<asp:Label id="lblAvailable" runat="server" text="<%$ Resources:pageLabels, lblAvailablePlans %>" CssClass="clsLabel"></asp:Label>

 

 

</td>

 

 

<td style="width: 100px">&nbsp;</td>

 

 

</tr>

 

 

<tr valign="top">

 

 

<td style="width: 105px">&nbsp;</td>

 

 

<td>

 

 

<telerik:RadListBox ID="lstAvailablePlans" runat="server" Width="763px" Height="250px" CssClass="clsLable" Skin="Office2007" OnClientSelectedIndexChanged="AvailableonSelectedIndexChanged"></telerik:RadListBox>

 

</td>

 

<td style="width: 100px">&nbsp;</td>

 

 

</tr>

 

 

</table>

I could able to clear the selection in first listbox on SelectedIndexChanged client event of second list box and vice versa, but the problem is 

1. I select one record in the first list box 
2. Then I select one record in the second list box
3. Then the selection in the first list box goes off and selection the second list box shows
4. when i click on finish button and at the sever side when i try to access the second list box selected count is 1 and also the first list box selected count is 1 even though i have cleared it in the client side.

Kindly let me know how to fix this issue or wheather its a bug?

Regards,

Santhosh

 

 

 

 

santhosh
Top achievements
Rank 2
 answered on 04 Aug 2009
2 answers
116 views
Hi,

I am developing one web application. I have implemented one master page. I want to display RadAlert in master page. If i add following code. It is throwing error like e and sys is not derfined. How can I display RadAlert in master page.

Dim

 

someScript As String = "alertMe"

 

 

If (Not Page.ClientScript.IsStartupScriptRegistered(Me.GetType(), someScript)) Then

 

Page.ClientScript.RegisterStartupScript(

Me.GetType(), someScript, "alert('I was called from Content page!')", True)

 

 

End If

 



Thanks in advance,
Medac
Medac
Top achievements
Rank 1
 answered on 04 Aug 2009
1 answer
45 views
Hi,

I have downloaded and installed the trial demo of RadControls for ASP.NET AJAX Q2 2009, I also have visual studio installed on the machine, what are the steps I should follow in order to work with these controls.
The goal is, I want to customize the theme or skin for the SitePanelbar for my sitefinity website.
Currently I am using the SitePanelbar control which is already provided in the toolbox section, when you edit the page.
Could I please get assistance on this.

Thank you,
Jay Mehta.
Peter
Telerik team
 answered on 04 Aug 2009
2 answers
169 views
In the below code i am able to see the another grouping only after i click the expand symbol which makes the postback n shows up the sub groups.  

ex: Once clicked the category expand symbol it makes the postback n shows up sub group (here its name). i want it by default every thing should be displayed in collapsed mode.
 <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceI="SqlDataSource1" 
   GridLines="None" 
   AllowPaging="false" PageSize="25" 
   Skin="Outlook" DataSourceID="SqlDataSource1">  
 
 
 <MasterTableView DataSourceID="SqlDataSource1">  
   <GroupByExpressions> 
         <telerik:GridGroupByExpression  > 
         <SelectFields> 
          <telerik:GridGroupByField  
            FieldName="Category"  HeaderText=""/>  
         </SelectFields> 
           <GroupByFields> 
              <telerik:GridGroupByField  
                 FieldName="Category" /> 
               </GroupByFields> 
         </telerik:GridGroupByExpression> 
         <telerik:GridGroupByExpression  > 
         <SelectFields> 
          <telerik:GridGroupByField  
            FieldName="Name"  HeaderText=""/>  
         </SelectFields> 
           <GroupByFields> 
              <telerik:GridGroupByField  
                 FieldName="Name" /> 
               </GroupByFields> 
         </telerik:GridGroupByExpression> 
   </GroupByExpressions> 
    </MasterTableView> 
    <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="false" AllowColumnsReorder="false">  
                <Selecting AllowRowSelect="false"></Selecting> 
                  
                            </ClientSettings> 
   
</telerik:RadGrid> 
Thanks a million in advance.,
Ali Akbar
Top achievements
Rank 1
 answered on 04 Aug 2009
1 answer
49 views
hi there,

        In my application, 1 page contains One master grid in top and 9 tabs (TabStrip) below that master RadGrid. In that 8 tabs contains each 1 hierarchical RadGrid. 1 tab alone contains two hierarchical RadGrid. To load this page with 5 records in each RadGrid it takes about 20 sec. I m trying to improve the performance of this page.
 
I gone through the Performance Tuning article from telerik.But, still i could 't figure out why its taking 20 sec.
I checked my stored procedure they run in fraction of seconds and they run only once.

Any suggestion, welcome!.
Sebastian
Telerik team
 answered on 04 Aug 2009
0 answers
84 views
Hi,

1)Can anyone tell me how to bind a raddropdown to a function
(method ) which is returning values.

2) also how to bind a radcombobox to a enum while loading the control and also how to save the com,bobox value(enum)
Ayesha
Top achievements
Rank 1
 asked 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?