Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
Hi Everybody,

I have problem which I am unable to solve, so maybe somebody can help me out.

I am writing a library (.dll) with SeverControls. (the result is only a dll!) in which several RadControls are wrapped and extended, for example the Grid. 

The problem I want to use a localization file for the grid. If I just copy the files in the app_globalresource folder of a project using my library, the grid does not use the files. Setting the LocalizationPath does not help since the path of course in runtime is different.

Who can help? Thanks in advance!
Daniel
Telerik team
 answered on 07 Oct 2011
1 answer
86 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
183 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
110 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
120 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
277 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
106 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
111 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
159 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
833 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?