Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
306 views
Hi All,

I want to know the maximum no of records a rad dropdown can populate or volume of data it can handle.

In my application there are lakhs of records which are being populated at the page load event in the dropdown. because of which application hangs up .

Please suggest any solution & better way to populate laks of records in the dropdown.


Thanks in Advance
Rahul
Simon
Telerik team
 answered on 03 Nov 2009
1 answer
93 views
Hello,

I was wondering if you have tried out your controls with ASP.NET AJAX preview 6, and if so, what is your experience with it?  What scripts (since they broke the scripts out) has your controls needed (outside of minimum MicrosoftAjaxCore and MicrosoftAjaxComponentModel)?  I am trying to refrain from using MicrosoftAjax due to the size...

Thanks.
T. Tsonev
Telerik team
 answered on 03 Nov 2009
1 answer
97 views
Hi,

I have a problem with my ComboBox if i put it in a container with a scorlbar, and when i click on a combobox to make appear their items. I try then to scroll the main container, the items of the combo box became fixed on the page even if i try to scroll the main container.

I have also a problem with  a DateTimePicker, when i choose a Date it automaticly change to an other date with march as month!!!

Thanks you.
Simon
Telerik team
 answered on 03 Nov 2009
1 answer
120 views
I need to navigate to advanced edit template for a specified appointment (ID) from a page/user control that does not have access to RadScheduler.

Is there is a way to navigate (using f.i URL) to AdvancedEditTemplate for for known Appointment ID?

Thank you in advance.
Genady Sergeev
Telerik team
 answered on 03 Nov 2009
1 answer
221 views
Hello,

I have a RadAjaxManager that updates 5 RadGrids on one page.  When I call a Rebind ajaxRequest it rebinds each of the 5 RadGrids.  The problem I'm having is determining when all 5 grid's have finished rebinding and refreshing on the screen before my javascript code continues.

The RadAjaxManager's onResponseEnd gets called several times, I believe once for each RadGrid that has a change when it's rebound.

How can I call ajaxRequest and have it run synchronously so that my javascript code will not continue until each RadGrid has been refreshed?

Thanks,

Chris
Iana Tsolova
Telerik team
 answered on 03 Nov 2009
1 answer
63 views
I hope I am missing something glaringly obvious, but I cannot find a sample or anything in the docs on how to obtain a reference in client-side for the controls in Advanced Templates.

Does anyone have a snippet?

Thanks,

Jim
Peter
Telerik team
 answered on 03 Nov 2009
5 answers
562 views

Here's my setup:  I have a MasterPage that has a webform with a RadGrid in it.  That RadGrid has one nested table.  I'm trying to insert a new item into that nested table using a WebUserControl (ascx) page as the EditForm for the nested Grid.

I've read the help at: http://www.telerik.com/help/aspnet-ajax/grdextractprimarykeyforparentiteminhierarchyonupdateinsert.html

My grid and nested grid are setup pretty much identically to what is there, except that I'm using a MasterPage and usercontrol for the form and I have a dataobject for the datasource.

When updating the nested grid with the usercontrol, the world is a wonderful place and things work just fine.  However, when that same form is used for inserting, the binding values go away.  In the customers and orders example, the customerID is not set to the default for the primarykey of the parent item.

I tried the code from http://www.telerik.com/help/aspnet-ajax/grdcustomeditforms.html for accessing the grid edited item from the usercontrol. 

GridEditableItem editedItem = this.Parent.NamingContainer; 

It generates a compiler error (cannot implictly convert system.web.ui.control to telerik.web.ui.GridEditableItem.  An explict conversion exists).  When I explictly cast, editedItem.KeyValues is null.  I think this may be something funky with the masterpages.

If parentID is an int32, I can use the following code in the main aspx code behind to get the appropriate value:

public int parentID {get; set;}
if
 (e.CommandName == RadGrid.InitInsertCommandName)  
            {  
                if (e.Item.OwnerTableView.DataSourceID == "OrderLookup")  
                {  
                    GridDataItem parentItem = (GridDataItem)(e.Item.OwnerTableView.ParentItem);  
                    if (parentItem != null)  
                    {  
                        parentID = (Convert.ToInt32((parentItem.OwnerTableView.DataKeyValues[parentItem.ItemIndex]["CustomerID"])));  
                    }  
                }  
            } 

But I can not for the life of me access that value from the ascx page.  I'm also assuming this is because of some masterpage stuff that I haven't figured out yet.

So, How can I reference that DataKeyValue from the WebUserControl for an insert function?  I need to set the default value for the customerID.  What is the best way to accomplish this?

David Kingston
Top achievements
Rank 2
 answered on 03 Nov 2009
1 answer
187 views
Hi,

In IE8 I get an unnecessary scrollbar in a RadListBox.

This does not happen when I use the compatible mode.
The RadListBox is in a RadPane of a RadSplitter. It is the only control in the RadPane and the height and width of the RadListBox are both set to 100%. (The RadPane is in my case typically around 300px high and 200px wide.)
When I inspect the rendered html with the developer tool and I change the the display style of the outermost div of the RadListBox control from 'inline-block' to 'block', the unnecessary scrollbar disappears, but I'm sure I shouldn't solve this problem by directly changing the rendered style. (Therefor I haven't tested if changing the style like this doesn't mess up things for the compatibility mode, so it might very well not be a good solution at all.)
I have looked for a property of which I would think it influences the style such that the problem is solved, but couldn't find one.

How do I get rid of the unnecessary scrollbar?

Regards,

Mink


Genady Sergeev
Telerik team
 answered on 03 Nov 2009
1 answer
99 views
I have a PopUp Edit Form (via Custom UserControl) where part of the UI design is calling for us to show a 'search' window - i.e. a Customer Lookup/Search Screen...

We have a visual control and place a button next to it and wire-up a simple server-side OnClick handler.  Even with the code-behind doing absolutely nothign other than a Debug.WriteLine() statement... The EditForm immediately closes...

How do I utlize additional 'buttons' on the form without it closing?

What we want the EditForm to really do when this button click occurs is to hide one DIV and show another where we can embed these type of 'search' mechanisms... And upon the search being completed/cancelled hide the DIV and restore the real EditForm div...

The other option being entertained is to show a RadWindow to host these search mechanism but the client preference is to avoid having more than 1 layer of popups going on... Additionally, I'm finding very little information on using RadWindow from code-behind - it seems to really be client-side focused... If we go with this route, I would like to use the RadWindow to show a UserControl rather than a Page - which doesn't sounds like an option from the little research I've done so far...
Iana Tsolova
Telerik team
 answered on 03 Nov 2009
1 answer
216 views
I'm making a dynamic RadDock structure as per this post. I want to react to changes in the RadDocks (add, move, close). Where is the best place to do this? From the RadDock Lifecycle I would gather that the best place to do this is in the RadDockLayout.SaveDockLayout-event, but I'm not sure.

Where is the best place to react to changes?


Pero
Telerik team
 answered on 03 Nov 2009
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?