Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
297 views
Hello,

I have a combo that's bound to a web service.  When I click the drop down, it loads the list.  That's fine.  However, I want to refresh the binding with new data and new criteria.  Can I force a refresh?

Thanks.
arash
Top achievements
Rank 1
 answered on 22 Dec 2012
1 answer
95 views

TreeList Expand in server side on from open .




Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 22 Dec 2012
1 answer
70 views
hi there...
i have aspx in my web application that contain RadTabStrip & RadMultiPage that open diffrent UserControl by selecting diffrent tabs...
i want to create dynamicaly RadTab by clicking on a bottun in my UserControl ascx  that open into RadMultiPage but I don't know how.
PLZ help me. If more info needed tell me.
Regards...
Ashkan
Top achievements
Rank 1
 answered on 22 Dec 2012
1 answer
86 views
if (e.Item is TreeListEditableItem && (e.Item as TreeListEditableItem).IsInEditMode)           
            {
                TreeListEditableItem item = (TreeListEditableItem)e.Item;
                RadNumericTextBox Quantity = (RadNumericTextBox)item.FindControl("Quantity");
                RadNumericTextBox Rate = (RadNumericTextBox)item.FindControl("Rate");
                RadNumericTextBox Amount = (RadNumericTextBox)item.FindControl("Amount");

If i going to edit these values are come null

Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 22 Dec 2012
1 answer
174 views
Thanks,

Vlad
Stefani Tacheva
Telerik team
 answered on 21 Dec 2012
2 answers
79 views

I have an odd issue I cannot resolve and hoping for the experts there to please assist.

Using Telerik AJAX tools, I have a vertically oriented slide-out menu which works perfectly on IE, Chrome, Safari, Opera - but on Firefox the slide-out menu appears at the far right just beyond the available browser width so it's mostly not visible off to the right side. 

It used to work on Firefox perhaps a year ago but I've upgraded the latest Telerik AJAX tools and it doesn't seem to work anymore.  For what it's worth, I'm using Firefox v12.x but haven't upgraded, as far as I can recall, from an earlier version.
 
It's complicated to give you a working code example so I've attached a simple graphic which illustrates the issue visually.

My code, taken some time ago from one of your forums, is this:

<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" VisibleDuringInit="False"
  Orientation
="Vertical" Height="700px" BorderSize="0" >

   <telerik:RadPane ID="RadPane1" Runat="server" Width="25px" BackColor="#CCCCFF">

      <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" BackColor="#CCCCFF" Width="22px" >

         <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title=" SYSTEM MENU " Width="185px"
          BackColor
="#CCCCFF" ResizeText="None" Scrolling="None" EnableDock="False">

                  ' Now we have some simple LinkButtons for menu items here...

         </telerik:RadSlidingPane>                                    

      </telerik:RadSlidingZone>

   </telerik:RadPane>

 </telerik:RadSplitter>

I am hoping there is a simple solution which I can use to adjust for this or rectify it.  I have looked for a week through the forums and couldn't find an exact match to my issue.

Please advise, thanks,
Steve
 

Steve
Top achievements
Rank 1
 answered on 21 Dec 2012
1 answer
163 views
hi,
i've created this radmenu:




<telerik:RadMenu ID="RadMenu1" Runat="server" Flow="Vertical"
    Skin="Sunset">
    <Items>
        <telerik:RadMenuItem runat="server" Text="load iamge profile">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem runat="server" Text="change password">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem runat="server" Text="delete account">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem IsSeparator="True" />
        <telerik:RadMenuItem runat="server" Text="Exit">
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

now how do start i click on item for example Load image profile this function java?
"openRadWindowProfile(); return false;"

or how do start this code behind when i click on item exit?
Protected Sub Logout_Click(sender As Object, e As System.EventArgs) Handles Logout.Click
    Session.Clear()
    Session.Abandon()
    Page.Response.Redirect("indexprova.aspx")
End Sub

Bye










Boyan Dimitrov
Telerik team
 answered on 21 Dec 2012
1 answer
158 views
Hello,

I try to integrate the Telerik libraries, replacing my asp:gridview by a RadGrid, and I have a problem on an update. Here is my case:

I have a page with an update panel containing a grid (asp:gridview).
On page load, I add dynamically some user controls in an asp place holder. These user controls contain their own update panel with buttons or drop down lists inside (not always the some control). When the button or the drop down list of the UC is selected, it calls some code of the business layer, and the business layer raises an event. The page (which has subscribed to this event), load a datatable, set the datatable as datasource of the grid, and bind it. I update the update panel containing the grid to refresh it. It works correctly.

I want to replace the asp:gridview by a RadGrid.

I keep the update panel containing the RadGrid, because I can't use the RadAjaxManager (even dynamically) because the controls of the user controls are not always the same (button or drop down list).

It seems to work. When I click on a user control button, the gridview is correctly displayed. If a click ONE TIME on a header, the sort is done. BUT if a click again, I obtain the following error message (same error on each action):
Microsoft JScript runtime error: Sys.InvalidOperationException: Impossible de trouver UpdatePanel avec l'ID 'RadGrid1Panel'. S'il est mis à jour dynamiquement, il doit se trouver dans un autre UpdatePanel.

To avoid the update panel problem, I tried to remove the UpdatePanel around the RadGrid and add a RadAjaxPanel (referencing a AjaxLoadingPanel) around all the page. But this time, I see the loading panel but the RadGrid is not updated after the binding. Should I do something to trigger the update ?

Thanks by advance.

Damien
Damien
Top achievements
Rank 1
 answered on 21 Dec 2012
2 answers
141 views
I have data that relates values assigned to discrete date ranges.  Each range is identified by a combination of up to 6 different fields that need to be displayed with the range.

These are all in the primary datasource for the scehduler.  The obvious way would seem to be to simply group the rows by the additional fields so that I get something like,

field1value    field2value    field3value    field4value    __________ timeline ___________
field1value    field2value    field3value    field4value    __________ timeline ___________
field1value    field2value    field3value    field4value    __________ timeline ___________

However, I don't see any straightforward way to accomplish this.  The only thing I can see to do would be to take a roundabout way and create a second data source with the same data and a composite key formed from those additional fields and a foreign key back to the primary.  Add that as a resource, then group by the composite key.

Of course this would dump it all into a single column and leave it without proper headers, not exactly ideal.

Is there a better way to accomplish that?
Marbry
Top achievements
Rank 1
 answered on 21 Dec 2012
3 answers
207 views

Hi,

We use Telerik AJAX ASP.NET extensively. On one page the page response time is very critical. On this page we are using RadGrid and RadComboBox. We have included RadScriptManager too.

One issue we are facing is that when user accesses this page for first time then Telerik.Web.UI.WebResource.js file is downloaded. This file is about 0.7 MB is size! This is creating major performance issues due to which we are being forced to re-write the page without Telerik.

Is there a way to reduce this size? On this particular page we are just using the RadGrid and RadComboBox- is there a way that we include the js for just these two controls? Or is there some other way?

Note: Using Telerik CDN is not going to help as using this yet on first visit the js file size would remain the same. Using RadCompression is not going to help as main problem is the 0.7 MB size of Telerik.Web.UI.WebResource.js.

I googled a bit but did not find a solution. PLEASE HELP, else its bye bye Telrik for us!

Thanks,
- Manoj

Dimitar Terziev
Telerik team
 answered on 21 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?