Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
157 views
Helo,
On simple page I have TextBox.
I want to associate pressing Enter key in TextBox with LoadPanel and Panel.
When I associate TextBox in AjaxManager, nothing is happend.
Can I please for help ?
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
 
        <telerik:AjaxSetting AjaxControlID="TextBox_autor_nazwisko">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Panel1"
                    LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="RadNotification1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
 
    </AjaxSettings>
</telerik:RadAjaxManager>


Dominik
Top achievements
Rank 1
 answered on 26 Jan 2012
2 answers
106 views
I am using load on demand using WCF mechanism to bind child nodes to a node. Is there any way I can get hold of that data after it is returned from WCF service and before binding it to the client. Actually I wanted to prevent the entire list list of data from binding it to the client and keep the remaining of data in cache on the client browser. 
eg. if there are 5000 records returned from WCF service using load on demand, when the data reaches the browser, before binding it, i want to extract only 100 records from the set, bind it and then keep the remaining 4500 records on the client browser cache(variable).

Currently i believe if we are using load on demand using WCF there is no way on the client to get the data returned from WCF service and modify the collection. 
Bozhidar
Telerik team
 answered on 26 Jan 2012
4 answers
129 views
Hi guys,

I found that DockState is not listed in the Table of Contents in either the CHM or online help under Telerik.Web.UI. If you visit RadDock->GetState(), you will find a link to a topic on DockState, but it shows no properties/methods/etc. I was able to see that it does actually have some public props and methods in the Object Browser.

Thanks,

Jack
Stuart Hemming
Top achievements
Rank 2
 answered on 26 Jan 2012
11 answers
170 views
Hi,

When using the Telerik skins one common issue that I come across is reusing the colours from the skins in my own css.

Is there a set of generic tags that are exposed that could be used something like the following:

<div class="stdText stdBackground">this would have the standard text and text background colours applied</div>

Currently I'm forced into having a css file for each Telerik skin that I use, this would allow me to just reference a generic set of css styles that would change with the skin but be defined and maintained by yourselves...

If there are any existing styles that would allow me to do this I'd be very interested in having a list of them.

Best Regards,

Jon
Bozhidar
Telerik team
 answered on 26 Jan 2012
5 answers
145 views

Hello

i have added one Add Note' - link button, dropdown box and, 'Remove Note' - link button as Custom fields. when user clicks the 'Add Note' new textarea is displayed.  i have added these fields with OnClientAdded method to the Radupload control. i have RadCaptcha control on my page too. which is above the RadUpload control. when user enters the wrong Captcha value Error message displayed like 'Please Enter Correct word'. so first user enters the captcha value and then selects the file to upload. he adds note and select the value from the dropdown. but as he has entered the wrong captcha value error message is displayed. but the note is disappeared and dropdown box loses its selected value. i'm aware that at this time file selected is lost. and user have to select the file again. its a known limitation of the radupload. but i'm not aware that how the custom field will work.

Please help me to resolve the issue.

Thanks
Sweta
MJ
Top achievements
Rank 1
 answered on 25 Jan 2012
5 answers
136 views
HI TO ALL
I wanna use File Explorer control in asp.net web form smilar like given in example "File Selector Dialog" but in my case i am using a textbox control located inside Formview1 control and i need some help to modify following code to find my textbox control inside formview1. the code is like below:
//This function is called from a code declared on the Explorer.aspx page function
OnFileSelected(fileSelected) {
var textbox = $find("<%= fileName.ClientID %>");
textbox
.set_value(fileSelected); }

So how do i modify this script ?

thanx in Advance
rgds Armend
Armend
Top achievements
Rank 1
 answered on 25 Jan 2012
3 answers
86 views

I am using the Ajax Rad Menu from Q3 2010 in Visual Studio 2010 on Windows 2008 Enterprise Server
This error happens in my development environment on Windows 7 and in production on Windows 2008 Server

Put the Rad Menu into your project and configure it to look something like this:

<telerik:RadMenu ID="RadMenu1" Skin="Windows7" EnableEmbeddedSkins="False" OnClientItemClicking="myClickFunction" runat="server">
    <ExpandAnimation Type="InOutQuad"></ExpandAnimation
</telerik:RadMenu>

 

Add your own Menus and sub menus as you see fit.  Run the application out of VS2010.  Notice that when you run the page you created and pass the mouse over the menus the menus drop down and slide out normally.

In the browser (IE8) go to the Tools | Internet Options menu.  When the Internet Options dialog box comes up, click the Security tab.  Select the Trusted Sites zone and click the Sites button.  Uncheck the "Require server verification" check box and add the http://localhost to the Websites list.  Click Close then click OK on the Internet Options diaolog box.

Pass your mouse back over the menus and you should get a javascript error that shows in VS2010.  In the Telerik.Web.UI.WebResource_2.axd?... file you get this error in this function: " 'type' is null or not an object "

 

Sys.UI.DomEvent=function(e){var a=e,b=this.tyle=a.type.toLowerCase();this.rawEvent=a;this.altKey=a.altKey;

where    b=this.tyle=a.type.toLowerCase()   is hghlighted in yellow showing the statement that failed

Go ahead and click the Continue button on the error dialog until the error clears and passes execution on to the browser.  Now refresh your browser by hitting F5.  Pass your mouse over the menus and the error no longer happens.

Can anyone tell me why this might be happening?

Ralph

Helen
Telerik team
 answered on 25 Jan 2012
1 answer
122 views
Hi all:

Is it possible to provide some users with a link to the radscheduler so that they can view it inside outlook (for example)??
Plamen
Telerik team
 answered on 25 Jan 2012
5 answers
159 views
Hello

I'm writing some javascript that will allow our users to navigate through the fields of a webpage using their keyboard and either the enter or down arrows in addition to the default tab keystroke. This is working great however there are some quirks when it comes to the combobox, as hitting down it should select the next item and not jump out.  Instead it is doing both and even after switching fields it leaves the combobox open.  Much like I did for the radiogroup I wanted to make it so down would cycle through each option until the last when it would break out of the combobox and onto the next control.  I have been unable to do this as the javascript type is always returned as text, I assume this is because behind the scenes the rad combobox is actually a set of stacked text fields. That's all fine and dandy however I need a way to distinguish this control from other control types.

Here's some sample code:

    document.onkeydown = function (e) {
        e = e || window.event;
        if (typeof e != 'undefined') {
            var tgt = e.target || e.srcElement;

            // If the keypress was ENTER (13) or DOWN (40)
            if (e.keyCode == 13 || e.keyCode == 40) {
                // Determine which element we're currently on
                currentField = e.target;
                 alert(currentField.type);
            }
      }
   }

I stripped out most of the logic here, all it's doing is listening for a keypress and if it's enter or down it will show the control type.  As already said I'm getting "text" for a combobox which leave same with no way to identify it (without knowing the name ahead of time,which isn't an option here). 

So my questions is: is there a way to get the type of the combobox control through JavaScript? Or is this a bug in the telerik controls that needs to be fixed?

Thanks in advance :)
Ivana
Telerik team
 answered on 25 Jan 2012
1 answer
101 views
Hi There,I would like to use read only RadScheduler to display data from Oracle DB which i am going to consume through WCF service in sharepoint 2007 but i have lots off other fields besides startDate,End Date and Subject so how i can bind all those fields to Appointment object.

Please advise
Thanks
Ronak
Kalina
Telerik team
 answered on 25 Jan 2012
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?