Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
This question is once again related to the page I created and discussed here.

I noticed that if the page is inactive for a period of time, say, 10-15 minutes. and then I mouse over on the grid column to display tool tip, I get exception. 

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Exception occurs when I try to add control for tooltip using statement

e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl)

Here is the Stack trace.

at System.Collections.ArrayList.get_Item(Int32 index)
at Telerik.Web.UI.GridColumnCollection.System.Web.UI.IStateManager.LoadViewState(Object savedState)
at Telerik.Web.UI.GridTableView.LoadStructureState(Object SavedStructure)
at Telerik.Web.UI.RadGrid.LoadTableViewStructure(IEnumerator stateEnumerator, GridTableView tableView)
at Telerik.Web.UI.RadGrid.LoadViewState(Object savedStateObject)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)
at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.ControlCollection.Add(Control child)
at CoreWebAdmin.OrderProductSummary.radToolTipManager_AjaxUpdate(Object sender, ToolTipUpdateEventArgs e) in J:\Work\Yitz\eBayPosting\CoreWebAdmin\Orders\OrderProductSummary.aspx.vb:line 1557
at Telerik.Web.UI.RadToolTipManager.OnAjaxUpdate(ToolTipUpdateEventArgs e)
at Telerik.Web.UI.RadToolTipManager.LoadClientState(Dictionary`2 clientState)
at Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection)
at Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Note that I have about 10 columns in the grid, and about 8 columns are displaying tooltip. Each tooltip has different data but almost same structure of the controls to be added into tooltip. (They all use Table object which contains a RadGrid and some other controls maybe). 

   I noticed that this error occures on one or two columns, but not on all columns. If I try to display tooltip on other columns and then try back on the specific columns where it had above errors, it display them fine. I am not sure why?

   Do you think I can solve this issue by disabling ViewState on the page (or on some specific control)? Or if there is any other idea, please share.


   Thanks,
   Sameers
Marin Bratanov
Telerik team
 answered on 30 Sep 2011
2 answers
198 views
Hello,

I need to move the selected rows of one grid to another grid and vice versa. Since the data is more when i implement that in server side it is taking time . So i need to implement in client side. In web i come to know that how to select rows in client side and retrieve the values of selected rows. But i dont know how to move the selected rows to another grid . If any one can provide sample data that will be great help. I am attaching the screen on which i am working.

* As per standards of my project i should not use the List box and i should use only Grid


Thanks
Gopinath
Gopinath
Top achievements
Rank 2
 answered on 30 Sep 2011
1 answer
32 views
Recently, I install the RadControl for ASP.Net AJAX Q2 in a Traditional Chinese version of Windows 7 x64 with Traditional Chinese version of Visual Studio 2010 Ultimate. When I open the document of RadControl for ASP.Net AJAX Q2, I see "Can't find requested content on your computer".

I open Microsoft Visual Studio 2010 Document directly, I only see the installed document but no RadControl for ASP.Net AJAX Q2.
I have set my Help Library to use local document.

Then I reinstall the computer with Traditional Chinese version of Windows 7 x64 and English version of Visual Studio 2010 Ultimate. And install RadControl for ASP.Net AJAX Q2 again. The document is fine in such environment. 

I reinstall the computer again with Traditional Chinese versions of Windows 7 x64 and Visual Studio 2010 Ultimate. I still can not see the Document of RadControl for ASP.Net AJAX Q2. The situation is the same as I mentioned above.

I think the document of the product may not work properly when using other language of Visual Studio 2010. Is there anyway to solve the problem?

Thank you.

Best Regards,
Jui-Yuan Su
Erjan Gavalji
Telerik team
 answered on 30 Sep 2011
1 answer
99 views
hi,
i have a treeview in combobox.i cant mark as selected treeview default value.i have a value for pdeps.DEPID.ToString(); and tv binding correctly but it gives null exception?Any opinion?

RadTreeView tv = (RadTreeView)cbxDepartments.Items[0].FindControl("tvDepartments");
tv.DataSource = d.GetAllDepartmentsByBranch(branchid);
tv.DataBind();
tv.SelectedNode.Value = pdeps.DEPID.ToString();
Plamen
Telerik team
 answered on 30 Sep 2011
3 answers
71 views
Hi 

I need to display datasource with alphatical nodes. For example, I have employee table instead of displaying hierarchy node, I need to display with alphatical nodes from A to Z with each node representing the alphabet. How can do it?

Vijai
Plamen
Telerik team
 answered on 30 Sep 2011
1 answer
99 views

I have a page that has a radgrid and several children grids in tabs under that main grid.  Click a row on the master grid and all the child grids update. This is not the problem

Next I have and EDIT button at the top of the page. Clicking this spawns a RadWindow the contents of which is a seperate page which itself has 4 tabs. 1 of which contains a RadGrid.

So far my structure (in a psudocode kind of way) looks like this

LocationPage
      RadWindow(EditLocationPage.aspx)
            Tab1()
            Tab2()
            Tab3()
            Tab4(AddressesRadGrid)


When data was changed on this page I ran this javascript to refresh the parent page grids. This too worked perfectly.

function CloseAndRebind(args) {
        GetRadWindow().Close();
        GetRadWindow().BrowserWindow.refreshGrid(args);
 
    }

Now to the issue.

As I mentioned there is a grid on the popup page in the 4th tab. The way this page is set up is that you select a row, and then click a common Edit button to edit that row. Clicking the Edit button opens yet another RadWindow with a form for adding/editing Addresses.

Now my phsuocode model of my windows and such looks like this.

LocationPage
      RadWindow(EditLocationPage)
            Tab1()
            Tab2()
            Tab3()
            Tab4(AddressesRadGrid)
                     RadWindow(EditAddress.aspx)


I'll cut to the chase, When I click the save button on the Edit Address page, the javascript above does not refresh the Address grid on the EditLocation page. It does however do what it always did. That is, refresh the grids on the parent page (LocationPage).

Seems that this line

GetRadWindow().BrowserWindow.refreshGrid(args);

...is the one I need to change.

Just, what do I change it too? How to a get a grid in a rad window to refresh?
Marin Bratanov
Telerik team
 answered on 30 Sep 2011
1 answer
106 views
I want to make the up arrow decrease the value, and the down arrow increase the value for an integer numeric updown control.  How can I accomplish this?  To put this in context, the column is SortOrder and it is sorted ascending.....I want the up arrow to move the item up in the list by decreasing the value.  I am using a text box because I also want the user to be able to change the value manually.
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2011
2 answers
87 views
Hi

I have a strange problem, and I suspect the answer will be blindingly obvious when I know what it is.. but here goes:

I have a panelbar with a customized version of the Black skin, following the the Telerik advice on this to produce a custom css.

All is well on my development machine, including the arrows to indicate sub menu items are available. The functionality and colours are exactly as planned.

After publishing to the remote site, all looks and works fine, except that the arrows do not appear, neither on mouse out nor mouse over. The only difference I can think of is that the local machine is IIS7.5 (win 7) while the remote server is IIS 6 (server 2008 R2).

ASP.NET v 4.0 is installed locally and remote  but the website is set up to use 3.5

Using Q3 2010 RAD controls.

Can anyone suggest where to look for the problem?

Thanks

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
233 views
Hi,
Is there a way to disable custom text when the combobox has enableloadondemand  = true?

<telerik:RadComboBox ID="radComboBoxPlaces" runat="server"
        AppendDataBoundItems="true"
        EnableLoadOnDemand="true"
        EnableTextSelection="false"
        OnItemsRequested="ComboBoxPlaces_ItemsRequested"
        OnClientItemsRequesting="itemRequesting" AllowCustomText="false">
        <Items>
                 <telerik:RadComboBoxItem  Text="Välj plats..." Value="" />
        </Items>
</telerik:RadComboBox>

Regards,
Mattias
Shinu
Top achievements
Rank 2
 answered on 30 Sep 2011
4 answers
206 views
RadTextBox Focus Style Width Not Working:--

<telerik:RadTextBox ID="tbspost" runat="server">
                    <FocusedStyle Font-Size="Large" Width="400px"/>
                     </telerik:RadTextBox>

When we bring textbox to focus the width does not change to 400pixels , however the Font-size property appears to work properly ..
Help
dotnetrockerzzz
Top achievements
Rank 2
 answered on 30 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?