Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
137 views
Hi,

I've read a lot of the posts and I noticed a few people had the same problem as me.  I'm using an older version of the controls Q3 2007 and I'm having layout problems with the AjaxManager rendering my updated controls in block format when I want them to be inline.  I don't have the property from the new version to make this work and I have no way of getting the new version of the controls.  Is there a way to set it to display inline with the version I'm using?
Chris
Top achievements
Rank 1
 answered on 30 Sep 2008
0 answers
132 views
Hi,

I am creating a custom server control which includes a telerik Tabstrip control. I have to call a onmouseover javascript function from class file. Right now i have used "navigationTab.Attributes.Add("onmouseover", "return SelectMyTab();");" in my CreateChildControls method but the javascript function is not working. I think  the problem
 is how i can pass sender and RadTabstripEventArgs in this function.
 Javascript function i am trying

function SelectMyTab(sender, args)

{

var multiPageID = sender.get_multiPageID();

sender.set_multiPageID(null);

args.get_tab().select();

sender.set_multiPageID(multiPageID);

}

Regard,

Sagar




Sagar Baheti
Top achievements
Rank 1
 asked on 30 Sep 2008
4 answers
566 views
Hi,

How do I conditionally set the imageurl property of an ASP:IMAGE control in a GridTemplateColumn?

I can clear the controls to remove the image completely, but am unsure how to cast the Controls(0) collection to get an ASP:IMAGE object? I have tried casting to Image, but this obviously isnt an ASP:IMAGE type, but something from Graphics.


I can do conditional formatting like this, but want to do it programatically as I may want to plug in different images:

<

rad:GridTemplateColumn UniqueName="ButtonColumn">

<ItemTemplate>

<asp:Image runat="server" ImageUrl='<%# IIF(TypeOf Eval("SDC_A") Is System.DBNull, "~/Images/warning.gif","~/Images/tick.gif") %>' Width="10" Height="10"/>

</ItemTemplate>

</rad:GridTemplateColumn>



Protected

Sub grdStudyMilestones_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.WebControls.GridItemEventArgs) Handles grdStudyMilestones.ItemDataBound

'Is it a GridDataItem

If (TypeOf (e.Item) Is GridDataItem) Then

'Get the instance of the right type

Dim dataBoundItem As GridDataItem = e.Item

'Check the formatting condition

If IsDate(dataBoundItem("SDC_A").Text) Then

dataBoundItem(

"SDC").BackColor = Color.Gray

Else

' NEED TO ACCESS THE CONTROL SPECIFICALLY
dataBoundItem(

"ButtonColumn").Controls.Clear()

End If

End If

End Sub



Stephen
Top achievements
Rank 1
 answered on 30 Sep 2008
4 answers
85 views
Hi,
Inside my master table there are 4 detail tables(all at same level), and all of them have the add/edit function enabled. What I want to achieve is that the user should be able to add new row only in one table at a time. i.e. if the user clicks on add record for the 1st table and then also clicks on the add record for the second table then the new row for the 1st table should disappear(add record for 1st table should be cancelled).

Please help.

Best Regards,
Rajiv
Iana Tsolova
Telerik team
 answered on 30 Sep 2008
0 answers
138 views
Hi,
I've setup a tree view with a template node that contains a programmatically created gridview.
I've attached darg and drop behaviour to individual labels in template columns of the grid. (as in http://msdn.microsoft.com/en-us/magazine/cc135985.aspx)

Drag and drop from those labes works in Firefox but in IE it seems the browser doesn't "detect" the label as drag and drop element at all so I'm not able to start dragging the element.

Any idea how to solve the problem?
Thanks,
Paolo Brunino
Top achievements
Rank 1
 asked on 30 Sep 2008
1 answer
130 views
Are any of the scheduler templates for the Advanced Edit Forms available in VB.NET?  It seems like from what I can tell they're only provided in C# with the standard installer.  Our main project is VB.NET and I'd hate to have to recreate them if we don't have to.
Simon
Telerik team
 answered on 30 Sep 2008
3 answers
101 views
Hi

I am trying to changw the heigh and width of certain Zones during a postback.  Is if I move a dock element from a bigger zone the new zone has to change its size to match the old zone.

I create the RadDockLayout on the form at design time and the rest if built on load.

I have been trying to do this using DockPositionChanged but when it shows the grid the zone isnt big enough for the dock.  I have to hit F5 for it to show correctly.

Can anyone help ?

Cheers

Michael
Top achievements
Rank 1
 answered on 30 Sep 2008
1 answer
102 views
Please give me the link or any solution how to apply the filter functionality in radgrid control in server side code.
I have to get the filter criteria from the dropdownlist(contains, not contains, null, not null etc.) and textbox value for filter.

Thanks
Pankaj Tyagi
Princy
Top achievements
Rank 2
 answered on 30 Sep 2008
1 answer
67 views
I want to have a button that will open a rad window, select a row from a rad grid, and return the primary key value to the parent page.  I then need to take that key value and run a query to display a value on the parent page.  Please advise on how to do this.  Thank you.$0$0$0
Georgi Tunev
Telerik team
 answered on 30 Sep 2008
5 answers
105 views
Hi Telerik team,

I have used telerik radwindow since its pre prometheus release and I have observed that on the current release, whenever I open a new radwindow, it doesnt display a corresponding minimized box on its minimized zone. I believe that this is the default behaviour of the previous version of the control but now it only shows on the minimize zone whenever the window is minimized. Is there a way to show the current window on minimize zone even if its newly opened or active.

Thanks and more power!
Georgi Tunev
Telerik team
 answered on 30 Sep 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?