Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views
Hi,

I have an issue with the Telerik grid. My grid comes up with 3 visible columns so no horizontal scrollbar is shown. One of the columns is frozen. I resize one of the columns and increase the width until the horizontal scrollbar apears. When I use the horizontal scollbar now, the frozen column also scrolls away with the rest of the columns. Is this a bug in the Grid?

Thanks for your time!
Princy
Top achievements
Rank 2
 answered on 30 Sep 2011
2 answers
195 views
Hi
Button Enabled property is not working when used with radajaxpanel.
I kept the button outside the radajaxpanel.In page load i am able to Enable it .
But i am handling checkbox check changed event .This check box is a  radgrid column and the radgrid id inside radajaxpanel.Inside this event i am not able to enable/disable the button .
When i remove the ajax panel it is working .
Could anybody please let me know a solution for this.

Thanks..
Winni
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
241 views
Hi,

I have a radGrid and in that there are multiple radNumeric textboxes. Please see attached image.
The issue is of focusing next textbox.
After selecting value in first textbox, I need to press tab key 3 times to focus the next textbox. It should be focused by just clicking one tab key. I know the reason that it renders two other hidden fields for numeric textboxes. But I need to disable the other two to focus the next one on just a single tab key press.

<input id="ctl00_cphMainContent_gvFinalTest_ctl02_txtRound1_text" class="riTextBox riEnabled" type="text" style="width:100%;" name="ctl00_cphMainContent_gvFinalTest_ctl02_txtRound1_text">
<input id="ctl00_cphMainContent_gvFinalTest_ctl02_txtRound1" class="rdfd_" type="text" title="" value="" style="visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;">
<input id="ctl00_cphMainContent_gvFinalTest_ctl02_txtRound1_Value" class="rdfd_" type="text" title="" value="" name="ctl00$cphMainContent$gvFinalTest$ctl02$txtRound1" style="visibility:hidden;float:right;margin:-18px 0 0 -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;">

What is the solution for this issue?
Kevin
Top achievements
Rank 2
 answered on 30 Sep 2011
30 answers
1.0K+ views
I have one template column which has an image. But the image doesnt get exported, and I ALREADY TRIED the ExportOnlyData= false and it still doesnt work
Daniel
Telerik team
 answered on 30 Sep 2011
2 answers
118 views
Error:  Sys.WebForms.PageRequestManagerParserErrorException:

I have a page which I want to be able to do 2 things, but so far I get the error above when I try to enable both of them. 

First I have my sliding pane which works just fine and all is good.  Inside the pane is a control with a button.  This button works fine as well (and it works on other pages too).  The problem is when I add code to have the sliding pane open through code (posted below) I get the error mentioned above and it will not work.  How can I fix this?  come more details about my setup.

Code to open pane:

 

 

 

<telerik:RadScriptBlock runat="server">
                <script
                    type="text/javascript"
                    language="javascript">
                    function pageLoaded(sender, args) {
                        var settings = sender._postBackSettings;
                        if (settings != null) {
                            var postbackControlID = new String(settings.sourceElement.id);
                            if (postbackControlID.toUpperCase().indexOf("PRIORITYLINKBUTTON", 0) > 0) {
                                var slidingZone = $find("<%= RadSlidingZone1.ClientID %>");
                                if (slidingZone != null) {
                                    var prioritySlidingPane = slidingZone.getPaneById("<%= RightSlidePane.ClientID %>");
                                    slidingZone.expandPane("<%= RightSlidePane.ClientID %>");
                                }
                            }
                        }
                    }
                </script>
<script
    type="text/javascript"
    language="javascript">
    Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(pageLoaded)
</script>

Code for Ajax Manager - this is the code which A) makes the pane correctly slide out when a specified item is selected and B) causes the error being thrown when the button is clicked.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="CollaborateDiscussionPanel">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="CollaborateDiscussionPanel"  />
                <telerik:AjaxUpdatedControl ControlID="PManagerSummary1" />
            </UpdatedControls> 
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="PManagerSummary1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="PManagerSummary1" />
            </UpdatedControls> 
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
PManagerSummary1 is the user control which has the button to be clicked and is the control in the sliding pane which slides out.

Adam Heeg
Top achievements
Rank 1
 answered on 30 Sep 2011
5 answers
149 views
I have a calendar control in the panel in the page. If the panel is visible, I show it and make it disabled on situation and enable it back. If the panel is not visible, obviously control is not loaded yet but when make panel visible and enable the calender it doesn't show the calender icon instead shows "Open the calender" message on the right with textbox. It looks like control is not loading properly by making it panel visible in the run time. 

Please let me know is there a way to fix it.
Pavlina
Telerik team
 answered on 30 Sep 2011
1 answer
116 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
257 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
64 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
140 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
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?