Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
111 views
I am maintaining inherited code on an existing web site.  On the client side event of some controls, we have code like this:


function CustComboBoxDropDownOpeningHandler(sender, args) 
{ 
      .... [code]... 
      if (event.type == "propertychange") 
             args.set_cancel(true); 
      ..... [code].... 
} 


Firefox does not give global access to the event object - it must be passed as a parameter.  For this reason, Firefox will not work for these controls as it is implemented above.  Is there a way to access the event object through the control?  Or is there a different signature we can give to the method to allow access the event object?  How can we know the type of event that caused this method to fire?

Thanks for your help!
jkrebsbach
Top achievements
Rank 1
 answered on 20 Nov 2009
1 answer
244 views
Is there an easy way to rebind a radtabstrip that is using a sql data source? I am showing tabs that has a record count as the tab text. When I drag and drop records from one grid to another I need to refresh the tabstrip tabs. i am using ajaxified grids. Thanks for any help you can give.
Peter
Telerik team
 answered on 20 Nov 2009
1 answer
227 views
q2 2009

VS 2008

Hiya,

I've got a menu that successfully displays the imageUrl

However, when I select a particular menuItem, I want the menu item to display a different image, to denote the fact that the menu has been selected...
SelectedImageUrl="~/IMG/imgHome.gif"      

I know for a fact that this image can be found for the menuItem, because, if I assign it to “imageUrl”, then it works.

 

Any ideas, I’d have thought that this would have been fairly simple.

 

Thanks,

 

yogi

Yana
Telerik team
 answered on 20 Nov 2009
6 answers
127 views

If, in Opera, you create a new event on the Scheduler demo page and the invoke a calendar popup and click on the "title & navigation popup zone" the resulting window is hidden behind the calendar itself (see attached screen shot).

-- 

Stuart

Stuart Hemming
Top achievements
Rank 2
 answered on 20 Nov 2009
1 answer
138 views
Hello,

We are essentially trying to load an ascx control per tab based on this demo: http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx

The user controls load fine but on our user controls we have some CSS which creates rounded corners via JQuery and on initial page load the first tab shown and user control loaded look fine. However, when we click on the second tab to show the next user control the rounded corners are gone. This can only mean that on subsequent ajax loads it is not calling the javascript for the rounded corners properly. Why is this happening?

Further background: The CSS and Script Files that are used for the rounded corders are referenced in the master page that is referenced by the aspx page which holds the TabStrip. We have tried putting the links to these javascript files in the ascx controls directly but this has no effect.

Thanks in advance for the help.

Paul
Telerik team
 answered on 20 Nov 2009
4 answers
133 views
RadListBox1 copies to RadListBox2 when AutoPostBackOnTransfer == false, but not if it is true - RadListBox2 remains blank.  The code-behind RadListBox1_Transferring() handler fires, but there are no items in the event args.  I need to intercept the value of the RadListBox1 item (a db table name) in order to populate RadListBox2 with the db table column names.

Interestingly, when I programatically populate RadListBox2 and hit RadListBox1's << xfer back button, the item text is passed to the RadListBox1_Transferring() handler.

Perhaps I am going about this a33-backwards, but I still don't get why copying (transfer) is not occuring when AutoPostBackOnTransfer is True.

Conditions:
RadAjaxManager1 EnableAjax = True
RadListBox1.AutoPostBackOnTransferring = True
RadListBox2.AutoPostBackOnTransferring = False
Mark Galbreath
Top achievements
Rank 2
 answered on 20 Nov 2009
0 answers
97 views
(Please ignore this post, since I have created a support ticket in the mean time. I will update this post, when I get a solution).

I have added a custom button to the FileExplorer toolbar (according to this help page). How can I invoke the server-side ItemCommand of the FileExplorer control when this button is clicked?

What I'd like to achieve in the end, is to load the currently selected file into a RadEditor control on the same page.

Thanks.

-Martin
Martin
Top achievements
Rank 1
 asked on 20 Nov 2009
3 answers
161 views
We are finding that the following Url is loading on every page in our live service and it is almost 1MB each time. I believe this is possibly the RadScriptManager,

Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-GB%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2008.3.1314.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-GB%3aef502ffb-86f7-4d96-ad3a-fbb934d602ab%3a16e4e7cd%3a86526ba7%3aed16cbdc%3a11a04f7e%3a19620875%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3aaa288e2d%3a4cacbc31%3af7645509%3ae524c98b%3a3f6e8f3f%3a874f8ea2%3a39040b5c%3a33108d14

I include the following in our Master Page,
<telerik:RadScriptManager ID="radScriptManager" runat="server"  AsyncPostBackTimeout="3600"></telerik:RadScriptManager> 

Can anyone confirm this is the case and does anyone have a solution on how to prevent this problem?

I would have expected this to cache but the GUIDs must be changing in the query string causing it to download afresh each time.

We are considering adding GZIP to our ISA server but this causes issues with other services we provide so this a far from ideal.

Please help,
Kind regards
ADe
Paul
Telerik team
 answered on 20 Nov 2009
6 answers
100 views
Hello,

for example:

If i use the following code (example from http://www.telerik.com/help/aspnet-ajax/server-side-timeslotcreated.html)

protected void RadScheduler1_TimeSlotCreated(object sender, Telerik.Web.UI.TimeSlotCreatedEventArgs e)
   {
       
if (e.TimeSlot.Appointments.Count > 0)
       {
           e.TimeSlot.CssClass =
"Disabled";
       }  else{
           e.TimeSlot.CssClass = "Enabled";
       }
   }

The first request set this timeslot "Disabled" and the second request set this timeslot to "Enabled", the result is:
<td class=" Disabled Enabled"> </td>
(it adds the new cssClass)

If i disable viewsate, it is ok, only one cssClass there. But I need the viewstate, so what can i do?

my Version of Telerik: 2009.2.707.35

Best wishes,


Kevin


Peter
Telerik team
 answered on 20 Nov 2009
1 answer
96 views
Hi

I have 2 image buttons  in <CommandItemTemplate> of Radgrid
-    UP button to move the selected row from its current position
-    DOWN button to move the selected row

I would like to hook the OnRowDrop event handler to the click events of the 2 buttons

The drag & drop functionality mentioned in the demo is working for me
But i would like to also use the alternate way by using the 2 buttons

thanks
Mahendra
Pavlina
Telerik team
 answered on 20 Nov 2009
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?