Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
259 views
Hello,
On the RadAjaxManager there is a method to set focus on a control after the ajax callback. (Setting Focus in Common Section on the examples site)

My question is how to do this if I use a RadAjaxManagerProxy. (my RadAjaxManager is on my Master Page, the Proxy on a usercontrol that refers the masterpage)

The .FocusControl is not available on the RadAjaxManagerProxy.

Thanks,
Nicolas
ADMIN-CV
Top achievements
Rank 1
 answered on 04 Oct 2009
2 answers
176 views

I have tried to display image on Grid using GridBinaryImageColumn but when run it display error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Parameter is not valid

I include here the my source code:

 

<

 

telerik:GridBinaryImageColumn DataField="CUST_LOGO" HeaderText="Image" UniqueName="Upload" ImageAlign="NotSet"

 

 

 

 

 

ImageHeight="80px" ImageWidth="80px" ResizeMode="Fit" DataAlternateTextField="CUST_NAME"

 

 

 

 

 

DataAlternateTextFormatString="Image of {0}">

 

 

 

 

 

<HeaderStyle Width="10%" />

 

 

 

 

 

</telerik:GridBinaryImageColumn>

 



In  my database the "CUST_LOGO" field sometime contain NULL value.
apb
Top achievements
Rank 1
 answered on 04 Oct 2009
2 answers
187 views
Hello,

We are currently working on a 3 tier asp.net web application, with .NET 3.5. We need to populate controls with a large amount of data.
I would like to know how to load the data in a listbox and combobxox in a fastest way, from the DAL to the UI. What are industrial best practices using latest and feasible technologies (ASP.NET MVC, Entity Framework, RadControls for ASP.NET AJAX, etc.)? 
Tell me if you need more information.

Thanks a lot in advance!
jon *
Top achievements
Rank 1
 answered on 03 Oct 2009
1 answer
107 views
I am trying to use radwindow in the content page of .net web application. I am using this piece of code as suggested in documentation.

 function ShowExisting3() {
        var oWnd = $find("RadWindow1");
        oWnd.show();
    }

 <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
           <Windows>
               <telerik:RadWindow
                   ID="RadWindow1"
                   runat="server"
                   NavigateUrl="http://www.google.com">
               </telerik:RadWindow>             
           </Windows>
 </telerik:RadWindowManager>
   
        <button onclick="ShowExisting3();return false;"  style="width: 190px">
           Show window (using show)</button>


oWnd contrains null value. any suggestions how to get reference to radwindow?




cognos s
Top achievements
Rank 1
 answered on 03 Oct 2009
1 answer
84 views
In your demos you show this using the client-side functionality but for the server-side you have to click a "select" column or a checkbox. I want the row to be selected server-side by clicking anywhere on the row. How do I do this?

Thanks.
Mr. Plinko
Top achievements
Rank 1
 answered on 03 Oct 2009
1 answer
173 views
Hello Team, I have a problem handling the sorting of my RadGrid that has a generic Dictionary as a DataSource, I bind the data handling the NeedDataSource event and works fine for binding the data and also for auto paging, I have enabled AllowSorting but when I click the only column there is I get "Sys.WebForms.PageRequestManagerServerErrorException: Cannot find column Value." following I share my declarative binding and the datasource handling on the code behind, I hope you can send some light to solve this issue.

At the aspx:

            <telerik:RadGrid ID="gvwTrainingProgramsRad" runat="server" AutoGenerateColumns="false"  AllowPaging="true" AllowSorting="true" >
                <pagerstyle mode="NextPrevAndNumeric" position="Top"></pagerstyle>
                <mastertableview width="100%" DataKeyNames="Key" AllowSorting="true" >
                    <Columns>
                        <telerik:GridBoundColumn AllowSorting="true" DataType="System.String" UniqueName="ProgramName" SortExpression="Value" HeaderText="Program Name" DataField="Value" />
                    </Columns>
                </mastertableview>
            </telerik:RadGrid>

At the CodeBehind:

        void gvwTrainingProgramsRad_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
             gvwTrainingProgramsRad.DataSource = GetPrograms();
        }

The GetPrograms() method returns a Dictionary<int, string>, like I said it works well for binding but not for sorting, what am I doing wrong?


Thanks for your help


Full stacktrace:


[IndexOutOfRangeException: Cannot find column Value.]
   System.Data.DataTable.ParseSortString(String sortString) +523
   System.Data.DataView.CheckSort(String sort) +28
   System.Data.DataView.set_Sort(String value) +125
   Telerik.Web.UI.GridEnumerableFromDataView.PerformTransformation() +3662
   Telerik.Web.UI.GridEnumerableFromDataView.TransformEnumerable() +21
   Telerik.Web.UI.GridTableView.GetEnumerator(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ArrayList dataKeysArray) +105
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +169
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +500
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +58
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +27
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +143
   Telerik.Web.UI.GridTableView.PerformSelect() +4
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +71
   Telerik.Web.UI.GridTableView.DataBind() +238
   Telerik.Web.UI.GridSortCommandEventArgs.ExecuteCommand(Object source) +126
   Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +134
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +38
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +115
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +118
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +166
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3437

 

Julio Montelongo
Top achievements
Rank 1
 answered on 02 Oct 2009
4 answers
108 views
I want to allow navigation of the treeview using the Up & Down keys on the keyboard.  So I followed the instructions shown here, specifically setting TabIndex="1" and AccessKey="T".  But unlike the demo on your website, it didn't change anything.

What more do I need to do?

Robert
Robert
Top achievements
Rank 1
 answered on 02 Oct 2009
0 answers
86 views
Does PanelBar have ability to do RSS inside one of its node?

I want to do the consuming RSS where user can expand or hide it + other features with same ability (hide or expand).  I don't know that I pick the right tool to do this or not.  However, the panelBar has this ability to hide or expand.  But I am not sure the the panelbar can do the RSS with xml datasource.  Most of example of RSS consuming usually done by using data grid.  Is it possible to have data grid inside panel bar?  Please refer to the picture for more detail: http://img209.imageshack.us/img209/3775/65105342.jpg

Any advice would be very great.  Any sample of the work would be very awesome.  Thanks
Urt
Top achievements
Rank 1
 asked on 02 Oct 2009
2 answers
95 views
Hello

I have the similar problem as mentioned in the thread http://www.telerik.com/community/forums/aspnet/grid/querystring-value-problem.aspx but I am unable to find the work around.

Basically when I Ajaxify my telerik grid with the RadAjaxManager and my page is using some QueryStrings then the Sorting/Paging of the grid stops working. I have the latest telerik dll version with me. What could be the problem?

Thanks

Muhammad Arif
Muhammad Arif
Top achievements
Rank 1
 answered on 02 Oct 2009
2 answers
111 views
I have enabled drag and drop in the mastertable and do not want to allow it in the detailtable.
How do I disable it?
mk
Top achievements
Rank 1
 answered on 02 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?