Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
105 views
I have a grid that is using a usercontrol as an edit form.  This grid allows for multiple edits at one time.  My problem is that I don't know how to reference the user controls from the parent page.  I only know how to access the user controls from a grid event and in this case it is not a grid event that I need to handle, but instead i am handling a button click on the parent page.
eric
Top achievements
Rank 1
 answered on 28 Sep 2009
1 answer
99 views
Hi, I think I found one thread that has this features already but seems like its not working with my page that has Masterpage. Also is it possible to fire it in server side coz I will still do several finishing touches with the content before saving it.. Thanks

RJ
RJ
Top achievements
Rank 1
 answered on 28 Sep 2009
2 answers
153 views
Hi,

I am trying to hide a control in the Telerik Scheduler. Scheduler, When the user double clicks the time slot on calendar by default it displays the small panel with Textbox, and SAVE,Cancel,Option button. I want to hide this small panel (inline appointment). Also when the user double clicks i want to directly take him to the main Insert/Edit page that includes the Recurrence with other normal controls.

Please tell me how I can achieve this using the Telerik Scheduler.

-KG
SKS
Top achievements
Rank 1
 answered on 28 Sep 2009
1 answer
164 views
I have built a custom user control and named it DataPartGridCommandItemTemplate.ascx  -- in this control there are the normal Add/Refresh buttons which simply use ASP:LinkButton and the respective CommandName properties ("InitInsert" and "RebindGrid")...

Additionally, I have a checkbox control that will ultimately "toggle" me between inline editing and popup forms...  So what I need is from within a UserControl (what I call "DataPartUserControl") that contains a RadGrid (what I call "DataPartGrid") which has its CommandItemTemplate built as follows:

<CommandItemTemplate> 
    <myWebApp:DataPartGridCommandItemTemplate ID="CommandItemTemplateUserControl" runat="server" ShowEditModeCommandItem="true" /> 
</CommandItemTemplate> 
 

The CheckBox control has its event wired-up and I can see that event fire just fine.  What I want to do then is raise my own custom event from the command item template user-control...   BUT...   Every time I check the public Event for null to ensure there is a subscriber before firing the event (and the subsequent null reference exception of course) - there are none.  

The initial wire-up to my command item template user-control was being performed in the DataPartGrid_ItemCreated event handler with the simple code of taking the GridCommandItem, using FindControls to find my command-item template user-control and then simply added the event handler...

After checking the forum, it seems like some other solutions were identified where moving the code to the PreRender event solved their problems. I tried this approach and what I found was that the CheckBox event handler was fired before PreRender so once again there was no subscriber to my user-control's published event...

So I'm not sure exacty how/when to get my event wire-up in the right place to ensure the event-wire up happens before the actual post-back event is dispatched to the check box event handler...

Alternately... Is there a better way of achieving this through using the same mechanisms as the LinkButton's use and creating a custom "CommandName" that I could bubble up?  If so, how would I access the grid from this nested user control and invoke the FireCommand method?

Thanks!



Brad Hehe
Top achievements
Rank 1
 answered on 28 Sep 2009
1 answer
92 views
I have a grid with a number of databound columns.

I have added a templateColumn to my grid. The column contains a checkBox (chkReport). In my grid, I check this checkbox to indicate that a given row should be included in a report that I generate when subsequently clicking a "Build Report" button.

Question(s):
1. What is the best way of having such a column? Should it even be a template column?
2. Checked items must be "persisted" when I move back and forth using the grid's paging functionality. How?
3. How do I best detect the checked rows' primary keys (key column name is simply "id") when I am ready to build my report?

Any help appreciated,
Jeppe Jespersen
Denmark

Soren Michelsen
Top achievements
Rank 1
 answered on 28 Sep 2009
4 answers
1.0K+ views
How can I change GridButtonColumn text/image at runtime. Text or image will ba based on grids data.

Im using asp.net ajax 2009 Q1
Thanks in advance.
RJ
Top achievements
Rank 1
 answered on 28 Sep 2009
6 answers
155 views

Hi
I am using the RadEditor un my web pages however getting the following error with the new version of IE (IE8)

'Error while excuting filter XHTML - TypeError: 'getAttribute(...).length' is null or not an object'

Is there an upgrade or a fix i need to add, has anyone else had this error?

Many thanks
T

 

Lini
Telerik team
 answered on 28 Sep 2009
3 answers
204 views
Good morning. I have a radMaskedTextBox in my .aspx page. And I am using javascript to populate it. The javascript is fine, it populates the radcontrol with a 10-digit phone number. The control also has a requiredfield validator. When I try to postback the requiredfield validator fails. Please tell me why it fails as I see the phone number in correct format in the control when javascript populates it. But if I type in the same number in the radmaskedtextbox  it passes without any error.
Thanks
Phil DeVeau
Top achievements
Rank 1
 answered on 28 Sep 2009
1 answer
176 views
    I've used them in radgrids before, but now I'm trying to do it with a totally ajax-driven grid and it doesn't work. No matter what technique I use I get this error: "Microsoft JScript runtime error: Sys.InvalidOperationException: Cannot serialize object with cyclic reference within child properties." 
    Why does this happen with checkboxes? I can use text inputs just fine. I've tried the '<telerik:GridClientSelectColumn>', the '<telerik:GridCheckBoxColumn>', I've tried using item template with asp checkboxes and regular html checkboxes, and I've tried all these things in various configurations. I'm both baffled and frustrated. Has anyone else been able to do this, and if so, how?
Michael H.
Top achievements
Rank 1
 answered on 28 Sep 2009
2 answers
311 views
I'm trying to setup tooltips on our product listing page. The problem I'm seeing is that tooltips don't seem to be showing up on Literal controls. Is this true? Are there other asp.net types that tooltips cannot be applied to?
Nik
Top achievements
Rank 1
 answered on 28 Sep 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?