Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
157 views
Has anyone printed the Rad content into Crystal Report as one of the fields in the report?  I am doing something cluge before with Rad 6.5 by replacing the <br><br> tags with <br>space<br>.  But now in the Rad for AJAX, the default is XHTML and the content saves the <br> with <br />.  Basically, my requirement is to have a paragraph in between as I would do now.

The tags associated with this return shows <br />2 spaces<br />.  Is there an easy way to get this done?
Rumen
Telerik team
 answered on 31 Oct 2008
1 answer
135 views
I have an odd question / problem.

I have a RadToolbar that is defined on an aspx page, but contains no items. I populate the menu completely programatically in code behind.

I have a need for an update panel / progress indicator on the page. If I include the toolbar within the reach of the updatepanel, IIS tosses the following error.

I thought it might have been related to viewstate being enabled, but I disabled it on the control (parent) and every item as it is added programatically.

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.
Peter
Telerik team
 answered on 31 Oct 2008
7 answers
251 views
Hi,

I would like to be able to reuse some columns throughout my project. Is there any tutorials on how to inherit from i.e. the GridDropDownColumn?
I've been experimenting on overriding CreateDefaultColumnEditor and creating the data source there. Is this the way to go?

Best regards,
Pether Wiklander
Sebastian
Telerik team
 answered on 31 Oct 2008
1 answer
87 views
Is there someone who can explain how the insert form works? What do i need to do in order to let a user enter a message and send it to an email adress. I get a page error when i´m trying to use the function.

Why dosent the end user manual have a section for this?

Thankful for all the help i can get!
Rumen
Telerik team
 answered on 31 Oct 2008
1 answer
75 views
Hi Guys

I am just wondering in radgrid whether there is a functionality for in each cell to have a right click and you defined that function.

This is the situation that we have:

Let say if we have grids with 5 columns (A, B, C, D, E) and 3 rows. This grid is basically editable mode and they are all textboxes.

What I want to achive is that using some sort client side that let say if I fill in the cell at column A and row 2 and then hit enter OR out of focus OR right click to it then display the option copy to all column, I want to have a pop saying that "Do you want to copy this value into other rows for column A?" If you select Yes then this value will get displayed in all Column A (row 1, 2, 3).

Any sample that I can have a look? I found this link that it's pretty close from what I want http://demos.telerik.com/aspnet/controls/examples/Integration/GridAndMenu/DefaultCS.aspx?product=grid but instead of just rows, is it possible to narrow down to column as well when clicking on to it?

Thanks
Yavor
Telerik team
 answered on 31 Oct 2008
5 answers
264 views
Hi,

I have an intermittent stack overflow error popping up on an application I am developing. The app uses several radgrids with one level of hierarchy, ajaxified using radajaxmanager. The .NET version is 2.0 and the radgrid version is Q2 2008.

The error seems to be triggered by expanding the hierarchy. Mostly it displays as stack overflow at line: 117 however I have seen other line numbers as well.

I have seen some mention of stack overflows in this forum and I have set EnableEmbeddedScripts="false" and EnableViewState="false" however nothing has worked yet.

Any help or advice would be very much appreciated.

Thanks
Steve
Sebastian
Telerik team
 answered on 31 Oct 2008
4 answers
220 views
After an ajax postback which sets the Content to "" and adjusts other elements on the page, the RadEditor becomes unusable until I click the HTML or Preview button and then click the Edit button again. What can I do to fix this problem?
Rumen
Telerik team
 answered on 31 Oct 2008
3 answers
185 views
I have a multi column combo box, I want to be able to determine which 'cell' was clicked by the user. Eg.
Product   Price 1   Price 2   Price 3
Product 1     5          4            2
Product 2    10         8            7

So a user can click on price 2s cell (4) for product 1 and the combobox will return the Product, Price column and the actual price (eg. Product 1, Price 2, 4)

Is this possible with the combo box or should I be looking at using a grid instead? Combobox has been chosen due to space constraints.
Veselin Vasilev
Telerik team
 answered on 31 Oct 2008
2 answers
156 views
I want to use the Inox calendar with the WebBlue Popupbutton picker.

I tried this:
          RadDatePicker1.Skin = "WebBlue"
            RadDatePicker1.Calendar.Skin = "Inox"

That didn't work, so I tried to change just the images. That doesn't work either.

            RadDatePicker1.DatePopupButton.ImageUrl = ResolveClientUrl("~/Skins/WebBlue/Calendar/datePickerPopup.gif")
            RadDatePicker1.DatePopupButton.HoverImageUrl = ResolveClientUrl("~/Skins/WebBlue/Calendar/datePickerPopup.gif")

I am using the trial version of ajax right now.

What must I do to get the little image to be the web blue image and the popup to be the Inox calendar?

thanks.
Moon
Dimo
Telerik team
 answered on 31 Oct 2008
3 answers
227 views
I have a radgrid exposing a table with many records in it, in the tens of thousands.

I tried to implement filtering on this grid but I could not get it to work without pulling down enormous ajax responses (around 6 megs). I tried to figure out why the grid was, I'm guessing, trying to do all the filtering on the client side. I followed instructions on doing filtering server side, calling a server method and setting the filterExpression property on the server to handle the filtering but for whatever reason, the grid would not filter without pulling down these multi megabyte ajax responses.

Stumped, I instead wrote my own custom filtering functionality, using the Where field of the LinqDataSource I have connected to the radgrid. This worked wonderfully, nice and lean it would filter the grid. It worked wonderfully, that is, until I discovered editing wasn't working with my LinqDataSource's Where field manipulation. Specifically, hitting the GridEditCommandColumn on the grid wasn't pulling up the correct grid item.

Investigating the OnEditCommand event of my grid, I discovered the Where field of my LinqDataSource was coming up blank after I had set it dynamically in my filter method. The Where parameter I set was there, but not Where string ("Id == @Id" OR whatever). I also realized eventually that neither sorting or paging were working with the filtration either. The Where property wasn't keeping.

Does this sound like a viewstate problem? I have enabled viewstate on the LinqDataSource but I imagine it was probably that way by default, and still the Where property doesn't keep.

I wrote a workaround that saves the Where field string in a page member and in the OnEdit-Sort-PageCommand event checks to see if a Where parameter is on the LinqDataSource, and if it is puts the Where property value back. It's hacky though and it seems as though I'm missing something.

Seth

Nikolay Rusev
Telerik team
 answered on 31 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?