Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
165 views

I am creating a user control that I am trying to use the Multiple Combobox with the ClientSide OnClientSelectedIndexChanging event.  When I use the control, something doesn't appear to be working write.  If I use the code a web form the javascript works fine.  Here is what I have...

var deptCombo = $find("cboDepartment");

var item = eventArgs.get_item();

alert(item.get_text());

deptCombo.set_text(

"Loading...");


Thanks in advance for your help.

Tommy

Simon Kingaby
Top achievements
Rank 2
 answered on 25 Jun 2008
1 answer
117 views
Hi,

It seems that setting the offset position of the RadTooltipManager on client side does not work in OnClientShow. But it works in OnClientBeforeShow. But I cant use the OnClientBeforeShow to determine the x and y position of the tooltip.

IS it possible to set the offset values in OnClientShow?


sender._offsetX = -65;

sender._offsetY = -342;

Thanks
Subha

Kevin Babcock
Top achievements
Rank 1
 answered on 25 Jun 2008
2 answers
377 views
Hi,

I am trying to execute two separate javascript functions from a single Rad control client event.

If I was using a regular asp control like a GridView I could do something like:

<asp:GridView1 id="Grid1" runat="server"
onMouseOver="JsFunction1();JsFunction2();">

But looks like the same syntax doesn't work in  Rad controls for calling two JsFunctions.

I basically want to call two javascript functions on RadTabStrip's OnClientTabSelected event 

Any help would be appreciated.

Thank you.
Anshul
Top achievements
Rank 1
 answered on 25 Jun 2008
1 answer
78 views
Hi,
  I have a RadTabstrip with Orientation = Vertical Left.
If my Tab Text is long say: My longggg Textttt
This is displayed in 2 lines inside the tab and is not properly formatted.
Something like this:
   My longggg
Text

Can you help me fix this formatting issue.
Thanks,
Sayak   
sayak
Top achievements
Rank 1
 answered on 25 Jun 2008
1 answer
165 views
Is it possible to have the width the combobox be 50px and the dropdown header and item template be 500px?

I'm only accepting 2 digit number for the combobox.  But if the user don't know the value I want them to be able to click the dropdown and see 5 fields pertaining to each value (e.g. value, description, lakes, location, etc.) using the header and item template to display.

Thanks,
Khanh
Khanh
Top achievements
Rank 1
 answered on 25 Jun 2008
2 answers
123 views
Hello,

I wonder if anyone has found this.  I had implemented a control with the RadScheduler, and a dynamic datasource.  We used the trial version (2008.1.515.20).  Everything was working OK, so we decided to purchase a few licenses; so when I upgraded to version 2008.1.619.20 the option 'Edit Series' throws an exception error "Object reference not set to an instance of an object".  The method where this happens apparently is AdvancedTemplate.CreateAppointmentBasicControls().  I have implemented the server-side event "RadScheduler1_FormCreated" but it never reaches it. Editing an occurrence works fine, and also editing a simple appointment also works fine.

Any help would be appreciated.

Thanks,
Antonio.

antonio
Top achievements
Rank 1
 answered on 25 Jun 2008
1 answer
143 views
I am using an older version of the RadGrid, Q1 2006, 3.1.1.0.

The structure and data of the grid is being supplied by an xml file; therefore, there is no way of knowing at design-time how many columns there are and what data they will contain. So, at runtime I want to dynamically create the columns and an edit form template to be used.

Right now, I create the columns and set the edit form template, with an IBindableTemplate class I created, in the OnNeedDataSource event handler. When the page runs the grid all renders fine and clicking the "Edit" of the GridEditCommandColumn functions correctly and displays the Edit Form Template; however, when I click "Delete" of the GridButtonColumn it triggers the OnItemCommand event but by the time it gets there it is gone(CommandName is empty) and the grid renders with just the edit and data columns, all the columns' header text and delete column are gone. Similar issues are occurring when I click the "Update" and "Cancel" of the edit form template.

I assume it is because of where I am creating the columns and have tried various different places to do so to no avail. I even tried extending the RadGrid and using the CreateChildControls() where I have been able to do so with normal asp view controls in the past. Calling Rebind() in the OnInit fixes the "Delete" issue but it only complicates things with "Update" and "Cancel". 

Any suggestions would be greatly appreciated.

Thank you,
Marlayna
Marlayna
Top achievements
Rank 1
 answered on 25 Jun 2008
2 answers
220 views
I have a page that has a splitter on it designed to occupy 100% of the browser's height and width.

This page works fine in FF2 and IE6 & 7.

With FF3 though, I occasionally get scrollbars in the browser; not in one pane or the other, but fort the whole browser window (like you might expect to see if you didn't put scroll="no" in the <body> tag in IE.

If I make small adjustments to the browser window side then they disappear and then come back with the next resize.

If it makes any difference, the left hand pane contains a Panelbar which is resized on the Splitter Pane's onClientLoaded and onClientResized events using the following ...
        function SetNavHeight(sender, args) { 
          setTimeout(function() { 
            var navPane = sender.getPaneById("NavPane"); 
            var containerHeight = navPane.get_height(); 
            var panelBar = $find("<%=pb.ClientID %>"); 
            panelBar.get_element().style.height = containerHeight + "px"; 
            panelBar.repaint(); 
          }, 200) 
        } 

--
Stuart
Dan
Top achievements
Rank 1
 answered on 25 Jun 2008
2 answers
126 views
Good day.
I was hoping someone might know of a demo that does the following or is built around the following idea.
A: Empty Form Fields on default.aspx, with 'Lookup' button to call radwindow.aspx open event.
B Radwindow has basic radgrid within it.
C: user selects id.
D: Radwindow.aspx is closed, and parameters are sent to default.aspx where form is populated from DB using those params.

i found this.. http://www.telerik.com/demos/aspnet/prometheus/Window/Examples/UsingURLForServerArguments/DefaultVB.aspx but it does the opposite. in sending the values to the radwindow instead of to the parent. The only way I see in doing this way is to force a postback URL to the parent in what I am trying to do. I was hoping to keep it all in nice tight package.

any ideas?
mac
Top achievements
Rank 1
 answered on 25 Jun 2008
3 answers
109 views
Hi,
I would suggest that you please add a new property to the PopUpSettings of the RadGrid called Modal that would allow you to control the popup window used for editing to be modal. That would be a great option.
Thanks,
Clayton.
Andy Steinfeld
Top achievements
Rank 1
 answered on 25 Jun 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?