Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views

I'm opening a radWindow using hyperlink in a grid

Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated
       
       If TypeOf e.Item Is GridDataItem Then
         
           Dim item As GridDataItem = CType(e.Item, GridDataItem)
           Dim editLink As HyperLink = CType(e.Item.FindControl("HyperLink1"), HyperLink)
           editLink.Attributes("href") = "#"
           editLink.Attributes("onclick") = "return openWin('/portals/0/NewEducation.aspx?RecID=" + item.GetDataKeyValue("RecID").ToString() + "'); "
  
   End Sub

I then register a button on the new window in the page load

bnSubmit.Attributes("onclick") = "return CloseAndRebind('rebind'); return true;"

I also have code that updates the database when the Submit button is clicked.  Everything works fine in IE9 and Safari but when I run it in Firefox the bnSubmit_Click codes does not run and the window just closes.  If I remove the bnSubmit attribute is there code that I can put in after the bnSubmit.Click that will close the window after I run all of the server side code?

Thanks

Bill

 

Marin Bratanov
Telerik team
 answered on 07 Oct 2011
2 answers
212 views
hi,

I need to change the background color of a ComboBox in javascript,

I'm not getting,

Can someone help me please?

thanks

Andre
Top achievements
Rank 1
 answered on 07 Oct 2011
0 answers
140 views
I have a hierarchical grid which has two layers of hierarchy, one of which contains a Nested Table View (i.e. one primary grid, followed by a child grid, which in turn has a child Nested Table View:

+ Primary grid
   |
   + Child hierarchy
      |
      + Child hierarchy in the form of a Nested Table View

Hope that makes it clear :)

The problem I have is that I have a cascading combo where one loads data following a user selection in the other. Because of potential errors where there's invalid data coming into the rebound combo, I'm having to rebind it in the codebehind. To do this, I'm trying to set up the rebind within the selected combo's SelectionChanged event.

Unfortunately as both combos are in the Nested Table View, I'm having problems working out how to access the combo I want to rebind since neither the 'sender' or EventArgs objects seem to contain enough information to allow me to easily find a path back to the editform. So what's the easiest method of finding a control within an editform in a Nested Table View that's in a hierarchical grid?
David
Top achievements
Rank 1
 asked on 07 Oct 2011
10 answers
158 views
Hi!

I have a page that contains the RadMenu and a flash .SWF file. Everything loads fine until mouse hovers over the radmenu while the .swf is animating. It's as though the radmenu is having problem "loading" the drop menu while the .swf is still animating. When the animation is at a complete stop, the radmenu works perfectly.

Has anyone has this problem? If so, how was it resolved?

Thanks,
karly
Kate
Telerik team
 answered on 07 Oct 2011
3 answers
316 views
Hello,
I need to edit (and to view) some custom fields - for example: "location" or Priority. Priority should be a dropdown (the datasource should be an enum ( enum priority = {low, middle, hight}) location should be a string. 

I've experimented with RadSchedulerWebForm.aspx and RadSchedulerWebFormAdcancedForm.ascx. I was'nt very successful 

What is the right way to get the data from aspx to my database - and back.

greetings,
otto
does not explain how to use with AdvancedEditTemplate

And I would like to use the AdvanvedEditTemplate

Update: works fine.
Peter
Telerik team
 answered on 07 Oct 2011
4 answers
170 views
Hello telerik Support,
Searching in the forum I've noticed a a message from 2006 stating that you are considering adding gauges for the controls package.
As it seems now, Gauges will only be supported using the WPF package. This is a bit problematic as gauges are often used in IT environments where an upgrade to .NET 3.5 is still a big step (currently most use .NET 2.0).
Are you going to release Gauges for the ASP.NET library as well?

Regards,
TZach.
Erik
Top achievements
Rank 1
 answered on 07 Oct 2011
1 answer
143 views

I have a page called Default.aspx and in that page I have a radmenu, label, search button and iFrame.
The menu consists of Home, Products, Variants, Finished Goods, Sub Assembly ect. By default the Home item is highlighted.
When the user clicks the search button a list of items are displayed in a rad window. From here the user chooses an item, the window closes and iFrame gets loaded with FinishedGoods.aspx (in this example).
In the FinishedGoods.aspx body onload I have a function that gets called and finds the menu and label in the Default.aspx.

 

 

 

parent.document.getElementById('lblBreadCrumb').innerText = 'Finished Goods'; // label
var menu = parent.document.getElementById('rmMain').attributes; // RadMenu

 

I'm trying to get the Finished Goods in the menu to be highlighted/selected and the Home not be highlighted/selected.

How do I go about doing this with the RadMenu?

I also attached an image.

Thanks

Kate
Telerik team
 answered on 07 Oct 2011
1 answer
198 views
Hi;

 when a tree node  has a long title, it overrides on the top next one. How can i make them push it to bottom (Cross browser). Please see the screenshot at below

Thanks
Plamen
Telerik team
 answered on 07 Oct 2011
3 answers
892 views
Dear friends,

maybe this will sound crazy but I cannot center radgrid on page horizontally. I tried to use divs with text-align attributes, aoto margin attributes but no luck. I almost tried every single thing I found on google to "center something on page".

I did that using tables with align="center" property but this time every data in every column in radgrid cetered. please help, I'm going crazy with so simple thing !!
aykut
Top achievements
Rank 1
 answered on 07 Oct 2011
1 answer
139 views
1. I did set RowHeight to auto for TimeLineView. But appointment go out sticking around about 1px.(Please refer to attachment 'TimeLineView1.jpg' I don't know how to solve....please help me!
Here is my css for RadScheduler.
/* TimelineView RowHeight */
.RadScheduler_Default .rsTimelineView .rsWrap,
.RadScheduler_Default .rsTimelineView .rsApt,
.RadScheduler_Default .rsTimelineView .rsAptOut,
.RadScheduler_Default .rsTimelineView .rsAptIn,
.RadScheduler_Default .rsTimelineView .rsAptMid,
.RadScheduler_Default .rsTimelineView .rsAptContent
{
    height: auto !important;
    position: relative !important;
}
 
.RadScheduler_Default .rsTimelineView .rsWrap,
.RadScheduler_Default .rsTimelineView .rsAptContent
{
    min-height: 21px;
}
 
.RadScheduler_Default .rsTimelineView .rsAptContent
{
    position: relative !important;
    border-top: 0;
    border-bottom: 0;
    left: 0;
    top: 0;
}
.RadScheduler_Default .rsTimelineView .rsLastWrap
{
    height: 16px !important;
}


2. I want to increase height for TimeLineView. (Refer to attachment 'TimeLineView2.jpg') But I don't want to increase row height of appointment. Is that possible?

3. Is there a way to show a multiline TimeLineView to? Please refer to attachment 'TimeLineView3.jpg'


Thanks
Hee
Ivan Zhekov
Telerik team
 answered on 07 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?