Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
181 views
Hello
In a plain ASP GridView, I was using a "OnRowDataBound" event to dynamically modify columns in a grid depending on the contents of the underlying row. It worked just the way I wanted.. I was trying to change the grid to a RadGrid, and there is no such equivalent event. Is there a way to do perform the same function in the RadGrid?

Thanks
Harold
Vlad
Telerik team
 answered on 15 Aug 2008
1 answer
87 views
I am using Charting Q1 2008. I've dragged the chart to the page, set it up and I don't get any errors, but I get a broken image link. Version Q1 doesn't have a RadControls folder to put into the site. The Web config has the handlers in it. As I said there are no errors, but there is no chart either. I can't seem to figure this out.
Ves
Telerik team
 answered on 15 Aug 2008
1 answer
94 views
Hi There,

Is there a way to know wich column was clicked in the OnRowClick event ?

Vlad
Telerik team
 answered on 15 Aug 2008
3 answers
133 views
Hello,

I am displaying a datalist with command buttons an images, doing paging with a request to database which selects records composing the displayed page, each paging command triggers a paged_change which read DB and bind the dataList to a SqlDataReader.

I have ajaxifyed the paging control and the datalist in the Page_Load from codebehind, adding ajaxsettings to AjaxManager.
DataList->Pager
DataList->Pager
Pager->Pager
Pager->DataList

I have a strange behavior: each odd request refuses to display the command buttons in the DataListItems.
First display is Ok, pressing PageNext I get a page with DB info but no image for buttons, pressing again PageNext I get a perfect page, etc.
When on firt page I enter in pager page 3, I get a page without images for buttons, the problem is not related to data in pages.

Reading the page generated html, I see that the <img> or <input type="image"> are correctly generated and contain their src attribute with correct path.
Why aren't they displayed ?
They are exactly the same as the ones on the pages correctly displayed ?
I have no error in IE7 on the page after display ?????


Any idea welcome.
CS
Konstantin Petkov
Telerik team
 answered on 15 Aug 2008
1 answer
118 views
I am displaying a RadUpload control with RadTreeView.
When a node gets expanded and clicked on the RadTreeView I am displaying a RadUpload control which allows the user to upload documents and details on the document.

This works okay until the user clicks on another RadTree Node.  The user clicking on a different node is causing a postback.  RadUpload is then attempting to upload nothing (i'm assuming this is what is happening).  I then get an access denied error.

Any work arounds or ideas on how I can handle this situation?

Thanks!
Erjan Gavalji
Telerik team
 answered on 15 Aug 2008
5 answers
204 views
Hi,

The RadFormDecorator set my button size wider than it should be.

To produce it, its very easy.

Just have a page with RadFormDecorator
and
A Button
Set the text of the button as "..."

It is suppose to be very small, but it turns out the RadFormDecorator makes it so big.

Is there a way to fix that ?

Thanks.
Martin
Telerik team
 answered on 15 Aug 2008
2 answers
241 views
hello, I have a column in a radgrid that is a lookup in another table, with allow null. so it is GridDropDownColumn. the problem is while filtering (by its ID), it crashes somewhere in telerik code.

Specified cast is not valid. Stack: at lambda_method(ExecutionScope , DataRowView ) at System.Linq.Enumerable.d__0`1.MoveNext() at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source) at lambda_method(ExecutionScope ) at System.Linq.EnumerableExecutor`1.Execute() at System.Linq.EnumerableExecutor`1.ExecuteBoxed() at System.Linq.EnumerableQuery`1.System.Linq.IQueryProvider.Execute(Expression expression) at Telerik.Web.UI.GridDynamicQueryable.Count(IQueryable source) at Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() at Telerik.Web.UI.GridDataTableFromEnumerable.FillData() at Telerik.Web.UI.GridResolveEnumerable.Initialize() at Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, DataView dataView, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) at Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) at Telerik.Web.UI.GridTableView.get_ResolvedDataSource() at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at Telerik.Web.UI.GridTableView.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at Telerik.Web.UI.GridTableView.DataBind() at Telerik.Web.UI.GridTableView.Rebind() at Telerik.Web.UI.GridFilterCommandEventArgs.ExecuteCommand(Object source) at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) at Telerik.Web.UI.GridItem.FireCommandEvent(String commandName, Object commandArgument) at Eximtur.UI.Common.FilteringTemplateColumn.combo_SelectedIndexChanged(Object sender, RadComboBoxSelectedIndexChangedEventArgs e) in C:.....Common\FilteringTemplateColumn.cs:line 84 at Telerik.Web.UI.RadComboBox.RaiseSelectedIndexChandedEvent() at Telerik.Web.UI.RadComboBox.RaisePostDataChangedEvent() at Telerik.Web.UI.RadDataBoundControl.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean


p.s.
We made a custom filter that allows filtering by values of the lookup tables in a combobox, but it crashes in the same spot, when firing the filter event.

some workaround I can think of is bringing say '-2' instead of <null> from database, I never tried it yet though.

easy to reproduce, just bind a grid to a column of type int with allow null.
filter using "equal" -> it will crash.



Kirill Ugolnikov
Top achievements
Rank 1
 answered on 15 Aug 2008
3 answers
158 views
Hi All,

I have a column inside my grid that hold a drop down list.  On client side or in a Javascript function, anyone know a correct way to make a reference to that drop down list?

This is what I have in my code:

var grid = <%= rgDRFormASPPFCaseInfo.ClientID %>;

var tableView = grid.MasterTableView;

var ID = tableView.GetCellByColumnUniqueName(tableView.Rows[RowIndex],"ID").innerHTML;

var ddlList = tableView.GetCellByColumnUniqueName(tableView.Rows[RowIndex],"Answer");

Please help

Thanks

Yavor
Telerik team
 answered on 15 Aug 2008
11 answers
452 views
I use a RadWindow to update a row in my grid.  In the RadWindow I click save and have an event to handle the transaction.  However, the window closes but the parent page with the grid does not rebind/refresh with the new data. 

How do you get it to refresh on a save from a RadWindow?

All I have so far is to close the window.
string closingScript;  
closingScript = "<script type='text/javascript'>window.onload = closeWin</script> ";  
ClientScript.RegisterStartupScript(this.GetType(), "closeWin", closingScript); 
Shaun Peet
Top achievements
Rank 2
 answered on 14 Aug 2008
1 answer
108 views
I installed the latest version of telerik editor on as of 8/7/08.
I installed the module on DNN 4.8.4.

Enabled Rad Editor as the Editor.

I don't see the file or image managers.

My web.config shows this
<add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" />

Do I need something additional?
Phil
Top achievements
Rank 2
 answered on 14 Aug 2008
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?