Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
334 views
Every so often, and I don't know under what scenarios I can recreate this behaviour, the "loading..." text I have appearing under a node when it's clicked (data is loaded-on-demand) gets "stuck".

By this I mean that the text appears and the node doesn't expand. If I click a different node and then back to the original one, it loads the data all over again, but this time expands correctly (however the "loading..." text remains).

Is this a bug and if so is there a workaround?

Thanks all,
Daron

Markus
Top achievements
Rank 2
 answered on 23 May 2008
1 answer
154 views
I have three tables similar to these ones:

DISTRIBUTION:
id
le_id
amount

LE:
id
nlro_id

NLRO:
id
le

DISTRIBUTION.le_id  has foreign key relationship to LE.id
LE.nlro_id has foreign key relationship to NLRO.id

What I want to do with this is have a Grid display the NLRO.le and the DISTRIBUTION.amount. That's really all I need to display.

So I guess a statement such as this one would do the job:

SELECT NLRO.le, DISTRIBUTION.amount
FROM DISTRIBUTION
INNER JOIN LE
ON DISTRIBUTION.le_id = LE.id
INNER JOIN NLRO
ON LE.nlro_id = NLRO.id

This Grid should have some Edit button. If I use the built-in edit mode, it would show me "le" and "amount" as editable text fields.

But I want "le" to be a drop-down-list showing all "NLRO.le" items (their key is LE.id):
SELECT LE.id, NLRO.le
FROM LE
INNER JOIN NLRO
WHERE LE.nlro_id = NLRO.id

How do I do that? I found no way to define the way the edit pane looks like. And even if I can define that: how do I make sure that clicking the "save/update"-buttons will save the right stuff in DISTRIBUTION? (like the le_id instead of the nlro.le which is the text of the drop-down list?)

Thanks

s.
Shinu
Top achievements
Rank 2
 answered on 23 May 2008
1 answer
110 views
Hi,

Recent I added RAD Calender to my RAD GRID. Everything is working fine as required except there is a strange left and right border shade.

I tried to check it however I was not able to remove it. Here is the code that I have written inside the grid
 
<radG:GridTemplateColumn HeaderStyle-HorizontalAlign="Left" UniqueName="OfferExpiryDate1" 
 HeaderText="Offer Expiry Date1" ItemStyle-VerticalAlign="Middle"> 
 <ItemTemplate> 
   <radCln:RadDatePicker ID="RadDatePicker3" runat="server"> 
   </radCln:RadDatePicker> 
 </ItemTemplate> 
</radG:GridTemplateColumn> 

What could be the issue here?
Thanks in advance.
Dimo
Telerik team
 answered on 23 May 2008
1 answer
185 views
hi friends

i want to open Context Menu on row click of grid so i wright the code in server side but i did not gated the property or method of open context menu  by server side code. i am sending code with this mail so please help me to open Context menu.


Code:-

 Protected Sub uxrgridDetails_ItemCommand(ByVal source As Object, ByVal e As Telerik.WebControls.GridCommandEventArgs) Handles uxrgridDetails.ItemCommand
        Try
            Dim commandItem As Telerik.WebControls.GridDataItem = CType(e.Item, Telerik.WebControls.GridDataItem)
            Dim PhoneNo As String = CType(commandItem.FindControl("uxlbtnPhone1"), LinkButton).Text
            Dim PhoneNo1 As String = CType(commandItem.FindControl("uxlbtnPhone2"), LinkButton).Text
            Dim PhoneNo2 As String = CType(commandItem.FindControl("uxlbtnPhone3"), LinkButton).Text
            uxrcMenu.Items(0).Text = PhoneNo
            uxrcMenu.Items(1).Text = PhoneNo1
            uxrcMenu.Items(2).Text = PhoneNo2
            Dim NewItem As New Telerik.WebControls.RadMenu
            '''HERE I WANT TO OPEN CONTEXT MENU



        Catch ex As Exception

        End Try
    End Sub

Erjan Gavalji
Telerik team
 answered on 23 May 2008
1 answer
177 views
This is complex but i will do my best to explain as i really need the help. I am implementing an horizontal bar chart. Now my xaxis item count is four. I have the y values for all xaxis items to build my stack. Now for each stack/series, I want to assign my own custom color. So basically all stack will have different colors. Is this possible and if yes How do I accoumplish it cos its seems the system is still assignng colors to my series eventhough i specify a color. thanks.

In short. what am really asking is how do i specify different my own color for an item in a series for a stacked bar chart.
Ves
Telerik team
 answered on 23 May 2008
3 answers
326 views
Hi,

I have a RadGrid whose Columns may vary based on the criteria. Based on the column displayed the width is being set by getting the values from the Xml.
The columns width are setting fine when the grid is in display Mode.
On Edit mode what ever i set the width of the column it is set the TextBoxEditor width that is displayed in the columns.

I DONT want to change the textbox width, but want to reduce the column width at runtime.
Is there some property that needs to be set to override on the textbox.

I can achieve this if i manually resize the column width.
Help me out how this can be achieved

Thanks
Daniel
Princy
Top achievements
Rank 2
 answered on 23 May 2008
3 answers
135 views
I`m new to rad controls and web devlopment in general - i`m a desktop-app developer, i want to know how to use rad grid as an input control for new rows?
I had add edit and delete columns already.

Regards.
Princy
Top achievements
Rank 2
 answered on 23 May 2008
1 answer
174 views
I am using the radajaxpanel pretty heavily and every so often I get an error message that is an object reference error. My issue is that if it's caught through the ajax it shows an alert message, but nothing is ever logged. How can I get this error messages logged to the event viewer so I can fix them. The object reference error is hard enough to diagnose when I have debugging information and in this case I have nothing.
Steve
Telerik team
 answered on 23 May 2008
1 answer
124 views
I have deeply nested custom user controls and I'm trying to use $find("<%= RadTabStrip1.ClientID %>") deep within the hierarchy to find an "ancestor" control. For some reason I get a Javascript error saying that there are no properties for it. But when I execute the same Javasript function in the same user control that has RadTabStrip1, it works fine. So can I use $find to find a control 4 parents up the hierarchy for example, or am I only supposed to use $find in the same aspx page that has the control? I'm trying to troubleshoot to see if this is the problem or might be something else. Thanks for any help on this.
Chris Gillies
Top achievements
Rank 1
 answered on 23 May 2008
1 answer
109 views
Hi,

Do we have lightbox kind of controls in Teleric. We need to show a terms and condition popup as a lightbox.

Thanks,
Pramod
 
Princy
Top achievements
Rank 2
 answered on 23 May 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?