Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
172 views
I have two RadComboBoxes and want a validator on them.

<telerik:RadComboBox ID="RadComboBox1" Width="200px" Skin="Hay" runat="server" />    
<telerik:RadComboBox ID="RadComboBox2" Width="200px" Skin="Hay" runat="server" /> 

RadComboBox1 has values 0-3
RadComboBox has values 0-50
0 = default values

If RadComboBox1 = 2  
 Then RadComboBox2 != 0 

Your help is appreciated!
Veselin Vasilev
Telerik team
 answered on 25 Jul 2008
1 answer
193 views

We have a radGrid with automatic inserts, updates and deletes. We're using a FormTemplate for the insert/edit. When the grid initially loads, we're collapsing all of the group sections. We're also collapsing all of the group sections when the user clicks to "Add new record." so that only the input form is displayed.

How do I prevent expansion of all of the group sections when...
A) The user clicks the "Edit" or "Delete" buttons.

B) After the "Insert" or "Cancel" button is clicked when adding a new record. We actually want to expand only the group section for the inserted record and scroll the display of the grid so that the newly inserted record is visible. 

Essentially regardless of the Insert/Edit/Delete activity, we want the group sections that were collapsed to stay collapsed; those that were expanded to be expanded. Currently all of the group sections expand.

Thanks.

Veli
Telerik team
 answered on 25 Jul 2008
8 answers
447 views
I'm having a difficult time understanding how to correctly impletment a tooltip on a RadGrid "onRowMouseOver" or "OnRowSelect".  I'm find that the documentation is hard to follow and confusing.  What I need to do is on a MouseOver or RowSelect in a grid display a tool tip.  However, the data is dynamic and depends on the UserID of that row.  Based on that userid, I will call a store Procedure that will have the data that I need to display in the tool tip.
I also reviewed the documentation and on line examples.  Very Confusing.

I'm using the latest on the AJAX controls in IE 7 and Visual Studio 2008
So Far I have a ToolTipManager on my page along with the grid...


     <telerik:RadToolTipManager
                        AutoTooltipify="False"
                        ID="GridRadToolTipManager"
                        runat="server"
                        ShowEvent="OnClick"
                        Position="BottomRight"
                        ShowDelay="100"
                        Skin="Web20"
                        Width="200px" style="display: none;"
                        >
                        <TargetControls>
                            <telerik:ToolTipTargetControl IsClientID="false" TargetControlID="StaffGrid" Value="" />
                        </TargetControls>
                                          </telerik:RadToolTipManager>
                </ContentTemplate>
                          <Triggers>
                               <asp:AsyncPostBackTrigger ControlID="StaffGrid" EventName="Load" />
                           </Triggers>
            </asp:UpdatePanel>


Thanks for your help...

Svetlina Anati
Telerik team
 answered on 25 Jul 2008
5 answers
557 views
Hi is there any way to hook a JS function to a onmouseover event for an appointment?  I know that you really want me to use your tooltip using update panel and all that but I want to keep using the custom tooltip script that I have.  All I need is a way to not display your tooltip (default in the scheduler) and hook up my eventhandler to something like onclientappointmentmouseover for an appointment.  I think your scheduler is great but this one issue is something I need to solve.

Note that the reason why I do not want to use your tooltip is I want to keep everything client side and your example on using your tooltip is going back to the server.  I have tried to use RAD tooltip on the client side in the following way:

<telerik:RadToolTipManager ID="ttManager" runat="server" OnClientBeforeShow="test"></telerik:RadToolTipManager>

   function test(sender, eventArgs)
  {
    var tt = sender;
    var id = tt.get_targetControlID();
   
    // here is where i would like to access the appointment object and its attributes but I have not found a way to obtain the appointment object.  The tt.TargetControl provides me with the DOM element only and I cannot access the start and end dates using your prototype functions.
  }

T. Tsonev
Telerik team
 answered on 25 Jul 2008
1 answer
106 views
how do I change the PagerTextFormat  when pager Mode is set to Slider?
it doesn't seem to work.
thank you.
Daniel
Telerik team
 answered on 25 Jul 2008
1 answer
154 views
Hi Telerik,

I have been a fan of your controls for a long time now. We are getting ready to buy them at my new job, but I need some help getting the RadGrid integrated in DNN. Do you have some documentation on such? I have looked and have not found anything. Simply put what I want to do is replace the standard Microsoft Grid that DNN uses by default in the View control of a custom module. Is there documentation on how to replace the standard microsoft grid with the RadGrid?

Specifically here are a few of my questions:

1) I am looking to link from the grid to a prefined dnn control for editing.

2) I need to be able to capture the delete row event on the server side so I can discard the record in the database.

3) Can I create a hyperlink column that basically simulates the navigation to the dnn edit control? DNN supplies a server side API to do such navigation so I just need to know how to hook the hyperlink column to a server side event handler.

4) I notice that there are fields in the properites of the grid that allow for displaying edit and delete columns. These may work for what I need as long as I can hook a server side event handler to them. Can I do this?


I am currently on RadAjax Q1 2008, developing in VS 2008, on XP SP2.

Thanks for your help!

Regards, Todd.
Nikolay Rusev
Telerik team
 answered on 25 Jul 2008
1 answer
151 views
I have a tool tip firing from a hyperlink in a radgrid.  It loads a usercontrol on demand from the radtooltipmanager's ajaxupdate method.  The usercontrol loads a value into a label and selects an item in a listbox based on the originating row.  The label always updates properly, but when i select a listbox item, no matter what i do the following tooltips i open up all have that item selected.  I even debugged and saw that the usercontrol is selecting the correct item in the box, but somehow ignores that and selects whatever item I previously clicked on.  Does that information get saved somewhere? (viewstate?)

Thanks in advance
Svetlina Anati
Telerik team
 answered on 25 Jul 2008
2 answers
97 views
I read in another post that the q2 release would have new wrappers to aid the development process.

Any more details on this?  Will the wrappers include connections logic?
Bob
Top achievements
Rank 1
 answered on 25 Jul 2008
1 answer
110 views
I'd like to have a class dynamically added to the topmost LI in the hierarchy when a descendant page is the current page. The default behavior adds the .rpExpanded class to the first anchor of the topmost node, but this does me no good as I need to style the whole LI, not just the anchor. Has anyone found a solution to this?

Just in case any of this is unclear, I'll attempt to diagram the node I'd like to dynamically class:

UL
    |.... LI.rpItem
    |.... LI.rpItem (I need a class! this node contains the current page but how am I to show this with styling?)
            |.... A.rpExpanded (why am I classed? I could easily be styled with descendant selectors!)
                   |....UL.rpGroup
                          |.... LI.rpItem
                                  |.....A.rpSelected (I'm the current page)
                          |.... LI.rpItem
                                  |.....A
    |.... LI.rpItem

My PanelBar is databound, so templating probably isn't going to be an option. Thanks in advance for any help!
Alex Gyoshev
Telerik team
 answered on 25 Jul 2008
3 answers
204 views
Hello,

As you know, using RadScheduler, we can add custom attributes to the Resource object on the server side.  Unfortunately, I cannot access these attributed on the client side using client side resource object.  The Resource object on the client side does not have method called get_attributes(), similar to how an appointment object does.  Using an Appointment object on client side we can so something like appt.get_attributes().getattribute("xxxx") and this works fine .  Your help is appreciated.

Thanks
Raj
T. Tsonev
Telerik team
 answered on 25 Jul 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?