Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
49 views
Anyone know how to retain the information entered on a Edit Form when an error is captured on the ItemUpdated event?

I am trying to keep the information the user entered prior to submitting the update, NOT rebind the data from the datasource.

 

Protected Sub RadGrid1_ItemUpdated(ByVal source As Object, ByVal e As Telerik.Web.UI.GridUpdatedEventArgs) Handles RadGrid1.ItemUpdated

 

 

If Not e.Exception Is Nothing Then

 

e.KeepInEditMode =

True

 

e.ExceptionHandled =

True

 

 

End If

 

 

End Sub

 

Schlurk
Top achievements
Rank 2
 answered on 17 Aug 2009
1 answer
54 views
4 answers
278 views
I'm trying a variation of the RadWindow DialogReturnValue sample:

I have a form with a server-side button called Button1.  Button1 is set as the OpenerElementID for the RadWindow control.  Just like the DialogReturnValue sample, I  return some text from a textbox to the calling page.

I can successfully use the ClientCallbackFunction to return this value client-side.  However, I want to take this a step further.  I need to have the Button1 complete its server click event and use that value returned from the RadWindow for some server-side processing.  Button1 never posts back and I'm not sure how to reference the return value of the dialog in the server code.  Why is that and how do I make this work?  Thanks!
Thomas Kopp
Top achievements
Rank 1
 answered on 17 Aug 2009
3 answers
78 views
We posted a question about this issue last week, and never received a response (thrilled at how actively telerik seems to patrol their forums - maybe they just don't like RedSox fans :)).

We have a radEditor, works absolutely fine in FF, doesn't work at ALL in IE.  Any ideas?

I can provide a test URL if absolutely necessary, and code as well.  I was just trying to determine if this is a known issue, or if we're doing something silly that's screwing our editor up.

TIA.
Schlurk
Top achievements
Rank 2
 answered on 17 Aug 2009
7 answers
190 views

Dear Comunity,

I have the following problem.

I have a grid with 10 Items grouped in 2 a 5 items for example.

If all groups are expand I can access all items with the index of itself. If I collaps one group and try to access a item with its index I get a error because the grid has only 5 items, but the index of the item to access has the index 8. I think this isn't a problem but how can get the correct index for each item in grid if a group is expand/collaps.

To get the index of the item to edit I'm using the RowDblClick event of teh grid and get the eventArgs.get_itemIndexHierarchical();

 

 

Is there a better solution to get it and solve my problem.
Thanks in advace.

Christian

Christian
Top achievements
Rank 1
 answered on 17 Aug 2009
10 answers
366 views
I have a databond radgrid and a databond detailtable within the radgrid. In the detailtable I have an extra checkbox column which is not databound.

When I click on a commandButton on a mastertable row I want to find the checkbox control within the detailtable of that mastertable row, and store the checkbox "Checked" value of each detailtable row somewhere else.

I use the following code to locate the detail table

if (e.CommandName == "TestCommand"
{
GridTableView gtv = (GridTableView)e.Item.OwnerTableView;
GridTableView gtvContents = (GridTableView)gtv.DetailTables[0];

When I was trying to loop through the detailtable to find the checkbox i realised that the row count is 0, which is incorrect, therefore i will not be able to find the checkbox control....

please help, thanks in advance
Saravanan Kannan
Top achievements
Rank 1
 answered on 17 Aug 2009
1 answer
100 views
Hi,
Currently I have 2 RadGrid (not using Ajax)
When I change the page index of RadGrid2, so that page postback and scroll to the top
How do I change the page index of RadGrid2, Scrollbar scroll to the header of RadGrid2
Sorry my bad English
Thanks
Mr. Plinko
Top achievements
Rank 1
 answered on 17 Aug 2009
2 answers
77 views
Hi,

I've followed the instructions on http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx and on http://www.telerik.com/community/forums/aspnet-ajax/editor/adding-functionality-to-a-customized-built-in-dialog.aspx in order to customise the hyperlink manager in the radeditor. This all works well except after the site has been compiled. After compilation and release the file LinkManager.ascx does not exist in the location specified in the property ExternalDialogsPath because it has been compiled into the bin folder. The compiled file name has also been changed so is not LinkManager.ascx, it is something like linkmanager.ascx.ab9a7aa3.compiled.

Is there a way around this that anyone knows?

Many thanks in advance,

Steve.
steve curtis
Top achievements
Rank 1
 answered on 17 Aug 2009
0 answers
88 views
<deleted>
Matthias S
Top achievements
Rank 1
 asked on 17 Aug 2009
3 answers
297 views

Hi, I’m upload and set image successfully to RadBinaryImage (image show correctly), but when try to access to DataValue property for save in database, the DataValue property is null. I need access to property, from click event of button named "btnSave", after image is uploaded.

Any Ideas.

Thanks for help!

Eloy.

Greg
Top achievements
Rank 1
 answered on 17 Aug 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?