Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 views
Is it possible to custom style the "select" button on the rad upload so that it behaves as other asp.net buttons do, with changing color for button down and such when clicked. Currently when clicked it acts like a hyperlink almost, bringing up the file dialog box.
Veselin Vasilev
Telerik team
 answered on 03 Jul 2008
4 answers
155 views
Hi, a customer is reporting that a key screen in my website is failing badly on IE6 (so bad it locks up the window and task manager has to be used to kill it) and giving errors in FF3.  I've verified this for myself; assumption at this stage is the errors relate to the failure in some way.

One error in FF3 is:
a hidden1 is not defined also pops up on my main page from time to time.  the errors seem to occur in the telerik suite and I have no idea how to track them down.

another I think more serious is:
"Permisssion denied to get property XULElement.,accessibleType in /scripts/4_4_4/Radmenu.js  - line 969

};
RadMenu.prototype.RenderInProgress=function(){
return this.DomElement.offsetWidth==0&&RadControlsNamespace.Browser.IsIE;
};

a similar error in RadSplitter.js, line 27

_7.style.width=_8+"px"; var _9=_7.offsetWidth-_8; var _a=_8-_9;









You can see my trial site live and the errors for yourself on
http://trial.fitnessmentor.co.nz

to replicate, go to the join tab, create yourself an account.  it's free so ignore the credit card bit and just click join.

then go to the 'weekly schedule' option in the menu, and create then edit some workouts.







regards
ewart

Peter
Telerik team
 answered on 03 Jul 2008
1 answer
128 views
Hi,

I am currently experiencing an issue in IE7 when attempting to add a hyperlink (through the hyperlink manager) to an image that is contained within a floated div.

As an example, I have performed the following test on the demo site (http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/Default/DefaultCS.aspx).

1. Add a div around the current image using the HTML view of the editor:
<div style="float: left;"><img alt="product logo" src="../../Img/productLogoLight.gif" /></div>
2. Go back to the Design view
3. Click on the image and select the Hyperlink Manager
4. Add a link to the image

The following output is produced in IE:
<a href="http://www.telerik.com">http://www.telerik.com</a>
<div style="float: left"><img alt="product logo" src="../../Img/productLogoLight.gif" /></div>

However, in firefox, it produces the expected output of:
<div style="float: left;"> <a href="http://www.telerik.com"><img src="../../Img/productLogoLight.gif" alt="product logo" /></a></div>

Is there any way to get this to work in IE?
Rumen
Telerik team
 answered on 03 Jul 2008
1 answer
140 views
I think I just misunderstand the clientside model but here's what I'm trying to achieve.

I am trying to get a clientside reference to a raddatepicker in the editformtemplate of a radgrid. I've used the code previously provided in this forum to do this:

          //walks over all elements with the specified tag name inside our grid 
            //does not require registration, but is a bit more complex 
            function GetGridServerElement(serverID, tagName) 
            { 
                if (!tagName) 
                    tagName = "*"; //* means all elements 
                     
                var grid = $get("<%=RadGrid1.ClientID %>"); 
                var elements = grid.getElementsByTagName(tagName); 
                for (var i = 0; i < elements.length; i++) 
                { 
                    var element = elements[i]; 
                    if (element.id.indexOf(serverID) >= 0) 
                        return element; 
                } 
            } 

When I call this function, it does return what looks like the correct object.

However, when I examine the returned object it does not have the methods or properties of the raddatepicker client side object.

i.e.

var rdp = GetGridServerElement("rdpStartDate","*")

returns a valid object and it seems to be related to what I want (one of the properties 'className' is equal to 'pickerWrapper_Telerik'), but it does not seem to be a raddatepicker object. I would have expected to be able to do something like this:

rdp.get_selectedDate()

But, it doesn't work. I think there is some relationships between the object a get back from GetGridServerElement() and the expected client object - but I can't figure it out.

Can you please help??

Thanks.
Veli
Telerik team
 answered on 03 Jul 2008
4 answers
98 views
Hi all

When I double click a day in month view I need to be able to get the startdate. Using this javascript returns NaNNaN etc which is not what I want.

eventArgs.get_startTime();

I've tried get_start() and get_date() but they don't work, any ideas?

Thanks
Jon
Jonathan
Top achievements
Rank 1
 answered on 03 Jul 2008
1 answer
70 views
Hi,
I am using scheduler to display appointments. The problem is that I can have upto 5 appointments in 1 hour. However, the calendar displays only first 2 entries, and then i get "show more" link. After clicking on the link, also I dont get to see anything.
My question is: How can i display all the 5 appointments in month view and disable the "show more" link?

Please let me know ASAP.

Thanks!
Peter
Telerik team
 answered on 03 Jul 2008
1 answer
163 views
I've asked this question before and never got a satisfactory answer. 

None of the "official" examples for iterating through the detail tables to hide the expand/collapse image mention that the grid MUST BE expanded in order for this to work.  And doesn't that kind of defeat the purpose of having expand on demand?

I would like to have an example of how to re-collapse the grid once the expand/collapse images have been hidden. 

And also how to KEEP the expanded state of what the users are looking at on postback, for example, on editing a specific detail row.

Thanks.
Veli
Telerik team
 answered on 03 Jul 2008
5 answers
449 views

Having a problem dragging controls from the toolbox to either the design or source view. Dragging a control and dropping it on the page produces nothing but xml.

Here's a sample from pasting a textbox control:

<

soap-env:envelope soap-env:encodingstyle=http://schemas.xmlsoap.org/soap/encoding/

xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"

xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

 

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

 

<soap-env:body>

 How do I fix this?

Thanks

Jacques

Sebastian
Telerik team
 answered on 03 Jul 2008
2 answers
111 views
Is there anyway to check on the client side whether an event is attatched to a menu item? I am setting the OnClientItemClicked event of the menu and it is not firing when I click a menu item. I'm setting the event in my code behind page on the server side like this...

mainMenu.OnClientItemClicked = "hideMainMenu";

Basically what I want to do is have a "Menu" button that will show the menu and then after they select any of the menu items, I want to hide the meu again. Very similar to how a context menu with the exception that this will be the main menu. It is up to the client though, if they want to always show the menu or only show it when the click the menu button which is why I am setting the OnClientItemClicked event in code vs on the page.

Thanks!

===== Menu Code in ASPX page =============

<telerik:RadMenu ID="mainMenu" runat="server"
                EnableViewState="False" Flow="Vertical" Skin="Vista">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </telerik:RadMenu>
Robert Bross
Top achievements
Rank 1
 answered on 03 Jul 2008
1 answer
62 views
We have a toolbar with images and text turned on and around 8-10 items. When the browser is maximized we see all the items, however when one resizes the browser the items hide and are not seen or difficult to get to. 
What is the best way to keep all the items visible without providing a fixed size.  Is there a way we can get a more button with some ... that will let the user know that are more items hidden in the toolbar.
Peter
Telerik team
 answered on 03 Jul 2008
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?