Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
257 views
Hi All,

On one of my pages I have a growing issue with performance.  The grid has 72K records and comes from an SQL data source.  I've done gotten rid of unneeded columns from the data and have reduced page size from 200 to 50 records.  These things have speeded it up slightly.

When I do a test and return the top 100 records from the datasource the grid is rendered much faster so the issue is certainly down to the IIS - SQL connection rather than the IIS to client side of it.

With that in mind I've looked at the options, I could build an elaborate mechanism for displaying the top 100 records then passing on any filters and sort order info that the user uses however that seems like a lot of custom work for one grid.  

Another option that seems to be open is using a LinqDataSource rather than a SQLDataSource. I've not used a LinqDataSource before and from my casual look at it just now can see that it will be a big change from where I am at.

1) Can I use a SP with LinqDataSource and still gain the paging benefits that it provides or does a SP essentially make a LinqDataSource run the same way that a SQLDataSource does?

2) Would I experience big improvements by using the LinqDataSource - is it worth the change?

Any advice would be very much appreciated.

Regards,

Jon
Doroteya
Telerik team
 answered on 03 May 2013
3 answers
55 views
asp.net controls have, and want to make a style menu window 8, is there a control to it or as we could make?
Iana Tsolova
Telerik team
 answered on 03 May 2013
3 answers
759 views
Hi, We've upgraded our application from RadControls ASP.net Q3 2012 to Q1 2013. We now have a problem with SelectedValue when binding data to the radCombobox. For some reason the SelectedValue isn't set to the first item added. It works fine using Q3 2012 so wondering if you've heard issues.

This issue is what we are experiencing

http://www.telerik.com/support/pits.aspx#/details/Issue=2147

Thanks
Eric

Plamen
Telerik team
 answered on 03 May 2013
5 answers
281 views
Hello,

I wrap some markup with a RadAjaxPanel.  I'm getting an error in a callback related to this, and I can't figure out why it's happening.  It's preventing the page from working, even though the debugger shows everything correctly setup.  So I was wondering: is there an event that fires when an error happens, so I know that it's an error that comes from the server, or is actually the error the debugger is telling me it is?  How can I potentially resolve where it may really be coming from?

Thanks.
Eyup
Telerik team
 answered on 03 May 2013
0 answers
100 views
hi ,

i have issue of print problem i am using a rad grid gvReportUnit and a print button
the grid is filled by run report button on click of print button the code is 

  btnRunReport_Click(nullnull);
   RadAjaxPanel1.ResponseScripts.Add("PrintRadGrid('" + gvReportUnit.ClientID + "')");
       

and on aspx page

 function PrintRadGrid(radGridId) {
                var radGrid = $find(radGridId);
                var previewWnd = window.open('about:blank'''''false);
                var sh = '<%= ClientScript.GetWebResourceUrl(gvReportUnit.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",gvReportUnit.Skin)) %>';
                var styleStr = "<html><head><link href = '" + sh + "' rel='stylesheet' type='text/css'></link></head>";
                var htmlcontent = styleStr + "<body>" + radGrid.get_element().outerHTML + "</body></html>";
                previewWnd.document.open();
                previewWnd.document.write("<b><center>Custom Report</center></b>");
                previewWnd.document.write(htmlcontent);
                previewWnd.document.close();
                previewWnd.print();
                previewWnd.close();
            }
it is opening a new window for print instead of opening a new window it should open a print pop up in which grid data should be filled in print popup Pankaj

Pankaj
Top achievements
Rank 1
 asked on 03 May 2013
4 answers
231 views
  • Hello,

    I have posted my issue- when I make use of client side item command in radgrid, the server side item command doesn't retrieve item datakey or the index or the item number as well. I wanted to give file download functionality on grid's specified command. So I wanted AJAX to be disabled at certain control's request...Please review the following conversation I had earlier but didn't got the proper answer.

    It would be great if I can see some specific example as well on this

    Thanks,
    Sunny

    _______________________________________________________________________________
    hello

    I need to disable AJAX on RadGrid's one command for file download purpose and so I, first, made use of client settings and there used onCommand client side where I make AJAX disabled which works fine at its part
    So the flow goes first at client side and first enables/disables AJAX and then goes server side on ItemCommand event where I can not access e.Item's values and even data key value

    Please refer to my code snippet for server side event-ItemCommand:

    GridEditableItem editedItem = e.Item as GridEditableItem; 
    Hashtable newValues = new Hashtable(); 
    editedItem.ExtractValues(newValues); 

    Edit your postReply

  • Telerik Adminadmin's avatar

    Posted on May 24, 2010 (permalink)

    Hi Sunny,

    One possible option in this case would be to not use the onCommand client side handler, but rather use the onrequest start client side event for the ajax control

    http://www.telerik.com/help/aspnet-ajax/ajxonrequeststart.html

    Give this suggestion a try and let me know how it goes.

    Greetings,
    Yavor 
    the Telerik team
  • Could you please give me a proper example of ragdrid having Item Command and onStartRequest integrated?
Eyup
Telerik team
 answered on 03 May 2013
1 answer
89 views
I'm seeing inconsistent results from my radgrid and find myself constantly tweaking the width & height property trying to get it jsut right.
I'm not sure how to solve this problem, but I've attached some screen shots to explain what I mean.

Figure 1 (emptygrid.png)
Shows that the empty radgrid does not fill the panel width and height

Figure 2 (gridoverflow.png)
Shows that a full grid that requires scrolling overflows past the height of the grid for some reason? You'd think it would start scrolling at where the grid's bottom border is but as you can see it looks like it's just overflowing on it's own?
Vasil
Telerik team
 answered on 03 May 2013
1 answer
49 views
HI all so basically the major problems thjat i have with telerik radgrid are:

1 - Cant fill the containerwith the grid .
2 - When i can do something similar with it the filters are cuted.
3 - Cant put a width on the columns(î need radgrid to be created automatic).
4 - some times the lines are not align with the head.
5 - How can i block the heigth?

Can anybody help with this.

Best Regards
 
Eyup
Telerik team
 answered on 03 May 2013
1 answer
109 views
how to disable click event in telerik radlistbox for asp.net and how to remove padding of telerik radlistbox ?
Shinu
Top achievements
Rank 2
 answered on 03 May 2013
4 answers
201 views
Hi,

Firstly there does not appear to be a forum for the RadInputManager specifically - I hope posting here is OK?

It appears to me that the RadInputManager is missing some features/has some issues for me.

 

  1. The RadInputManager needs a MaxLength setting for the TextBoxSetting
    [Actually no it doesn't there is one on the asp:TextBox]
  2. The Input Manager has an attribute of SelectoOnFocus, however none of the options seems to offer an option to work the normal way an asp:TextBox works when it gets the focus. I find that to position the caret at a specific place in the text, I have to click twice, once to get the focus into the box and then again to position the caret.
  3. Whilst the RadDateInput is great, I usually end up using the RadDatePicker since it seems to have more user convenience built in (basically one can use a calendar to pick a date). 

    But sadly the RadInputManager only provides RadDateInput type functionality when DateInputSettings are used  - which reduces the benefits a little.

    Any chance that you could add DatePickerInputSettings?

    I also note that the RadDateInput has a natty feature whereby the elements of the date can be incremented and decremented using the mouse wheel - harldy a major issue, but very nice. The RadInputManager with DateInputSettings dones ot reproduce this effect - which would be nice to make the Input Manager a replacement for the individual controls.
  4. In addition to RegExpTextBoxSetting, would it be possible to get a Masked version?
  5. The various behaviours that can be added provide handy validation - but it seems that there can only be one error message, and that message only appears inside the control (so limited space to explain).

    Would it be possible to arrange that a click on the Error symbol results in a popup box with a longer error message and/or that there were alternative error messages for each error and/or that hovering on the box when it is in the error state changes the tooltip to the error message text so that a longer message can be displayed?
  6. I am in the habit of trying to make some elements of some of my forms grow when the available window space grows. It is possible to build a form wiht an outermost splitter which is 100% x 100% (and hence changes shape with the window), and then within this using judicious tables and so on items like text boxes can be arranged to grow horizontally, an multi-line text boxes grow vertically so that what window space is available gets used. However adding a form decorator to the form mucks all this up - the relevant controls no longer grow.

    This sort of issue arises in several places with the Telerik controls (the ajaxified grid is one (which has a work around), the directory browser is another (which has no offered workaround). So again I am asking whether it would be possible to fit into your schedule some modifications to the controls to sort these out, I am pretty sure that in many cases it is just a matter of allowing the sizing to flow through the various divs and so on. You have made all the effort to allow a Splitter to fill the area of the window, then the Panes can shrink and grow as either the window is re-sized or the split bars are moved about. To then be able to slip say a multi-line text box into one of the panes and have it shrink and grow is excellent - and then right at the end, the form decorator undoes all that excellent work.

    Yes - one can exclude the specific text box from decoration - but that is a nuisance and the text box no longer style with the rest fothe form which undermines the, again, excellent styling introduced by the decorator.
Vasil
Telerik team
 answered on 03 May 2013
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?