Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
230 views
hi,

i have a problem in my scenario: when i call a radwindow, after closing this and handling the closing event in javascript, i call a a ajax request from the RadAjaxManager:

function OnClientClose() { 
    // After Closing the dialog: AjaxRequest 
    $find("<%= manager.ClientID %>").ajaxRequest("ClientClose");
}

then codebehind:
protected void manager_AjaxRequest(object sender, AjaxRequestEventArgs e) 
    switch (e.Argument) 
    { 
        case ""
            //refill combobox, enable button,... 
        break
    } 

so when i watch the control propertys(from combobox) in codebehind, everything is allright but in the browser nothing is updated...

when i call the RadAjaxPanel.RaisePostBackEvent(""); from the RadAjaxPanel that encloses all controls, the controls are updated in the browser, showing new entrys and activation status but i can't open the combobox or in an other scenario i can't click the treeview nodes...

so my question is, why are the controls in the browser in a status like freezing, when i call the RaisePostBackEvent method

or

is there an other way to update controls like combobox or treeview like the rebind of the datagrid???

sorry for my english..
Farouk
Top achievements
Rank 1
 answered on 19 Mar 2009
1 answer
94 views
Hi all

I am just looking the samples.

When I testing the UploadTargetFolder

I got a error

'D:/TELERIK Sample/UploadTargetFolder/Uploaded' is not a valid virtual path.

What should i do to rectify this problem.

My path is 

 

TargetFolder

="D:/TELERIK Sample/UploadTargetFolder/Uploaded"

Please could anybody help me.

Thank You

-Anto

 

Genady Sergeev
Telerik team
 answered on 19 Mar 2009
2 answers
72 views

environment

RadControls version

2008 q3
.NET version

3.4
Visual Studio version

2008
programming language

c#

PROJECT DESCRIPTION
Hello, I would like to make a chart like this: http://uswebpro.com/temp/chart.gif
My datasource looks like this: http://uswebpro.com/temp/salePErEventDay.gif
I am trying to use the chart wizard for this. However when ever I make a change, it closes automatically.
example, right after I make the change picutred here, it closes: http://uswebpro.com/temp/chart-wiz.gif

Could someone please tell me why it keeps closing, or just tell me how to set the chart up manually? Many thanks!


Aron
Top achievements
Rank 2
 answered on 19 Mar 2009
3 answers
140 views
Hy all,

I was wondering if their is a cleaner way to achieve the following scenario.
For this webproject we use templates with dynamicly loaded custom user controls. One of those controls can contain one or more RadEditors. On those Editors we have implemented a custom commandbutton.
For the browser to correctly find the script witch defines the command I have to put the script on my template. This approach, however, gets me a Telerik.Web.UI.Editor is undefined script error. Since the editors or not on the template itself.

The workaround I used is to implement a dummy Editor on my template before any of my custom controls are loaded so that the script can find an editor. I use styling to hide the dummy editor since the script won't work if I put visible = "false" for the editor.

Please find my template below:
<html xmlns="http://www.w3.org/1999/xhtml"
 
<head id="Head2" runat="server">     
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
</head> 
 
<body> 
    <form id="form2" method="post"  runat="server"
    <telerik:RadScriptManager ID="scriptManager" runat="server"
        <Scripts> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
            <asp:ScriptReference Path="~/Js/HiderUnhider.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
     
    <div class="hidenPanel" style="display:none;"
        <%-- Dummy Editor --%> 
        <telerik:RadEditor ID="dummyEditor" SpellCheckSettings-DictionaryPath="~/TDF/" runat="server" Visible="true" Enabled="true" /> 
    </div> 
     
    <telerik:RadAjaxPanel ID="AjaxPanel" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"
     
        <div id="generalDiv"
            <div> 
 
            </div> 
 
            <div id="menuHolder"
                <div style="float:left;"
                    dynamicly loaded menucontrol goes here 
                </div> 
 
                <div  style="float:right;" id="userLogin"
                     
                </div> 
 
                <div style="clear:both;"></div> 
            </div> 
 
            <div id="contentWrapper"
 
                dynamcly loaded control with Rad Editors goes here 
 
            </div> 
 
            <div id="footerDiv"></div> 
        </div> 
         
    </telerik:RadAjaxPanel>     
 
    <script type="text/javascript" language="javascript"
        //<![CDATA[                                                    
        /* Implementation of the Custom command, declared in the editor's Tools.xml file! */
        Telerik.Web.UI.Editor.CommandList["CustomButton"] = function(commandName, editor, oTool) {
            // alert ("CustomButtoncommand called");            
            //Some script to perform when the button is clicked
        };        
        //]]> 
    </script> 
 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="30"  
        BackColor="Black" IsSticky="false" style="position:absolute;top:0;left:0" Width="100%" Height="100%"
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' 
            style="border: 0px; margin-top:15px; margin-left:20px;" /> 
    </telerik:RadAjaxLoadingPanel> 
 
    </form> 
</body> 
</html> 

Any ideas if this can be achieved in a cleaner way ?
Woutersl
Top achievements
Rank 1
 answered on 19 Mar 2009
1 answer
132 views
Can you display use the RadAjaxLoadingPanel without the AjaxManager or the AjaxPanel ?
Iana Tsolova
Telerik team
 answered on 19 Mar 2009
1 answer
112 views
Hi
I'm trying to translate one of my web pages and I've some troubles with the RadInputManager

<telerik:RadInputManager ID="rim" runat="server"
  <telerik:TextBoxSetting EmptyMessage='<%#GetLocalResourceObject("resourceName")%>' BehaviorID="efn"
    <Validation IsRequired="true" /> 
    <TargetControls> 
      <telerik:TargetInput ControlID="txtName" /> 
    </TargetControls> 
  </telerik:TextBoxSetting> 
</telerik:RadInputManager> 

This is causing an error

System.Web.HttpParseException: Databinding expressions are only supported on objects that have a DataBinding event.
Telerik.Web.UI.TextBoxSetting does not have a DataBinding 
event 

How can I use resources in the RadInputManager?

As of now, i'm doing this
 rim.GetSettingByBehaviorID("efn").EmptyMessage = GetLocalResourceObject("resourceName").ToString(); 
 

Regards
Philippe
Yavor
Telerik team
 answered on 19 Mar 2009
1 answer
415 views
Hi,

I have two windows, one in master page and another one in content page.
If I put the window above the content place holder in master page, then the rad window of content page's property are not working. Eg, withd, height, skin.

If i put the winodw below the content place holder in master page, then the rad window of master page's property are not working. Please let me know what is the conflict.

Window in Master Page
<telerik:RadWindowManager id="SingletonMaster" runat="server" Skin="Office2007" DestroyOnClose="false" VisibleStatusbar="false">   
        <windows>  
            <telerik:RadWindow id="dwFCCScopeFilter"  
                Skin="Office2007"  
                ReloadOnShow = "true"  
                ClientCallBackFunction="CallBackFunction"  
                OffsetElementId = "txtFCCScope"                        
                Left="5px"    
                Modal = "true"  
                Runat="server"    
                Width="370px"                          
                Height="450px"    
                Title="FCC Scope">   
            </telerik:RadWindow>  
        </windows>  
    </telerik:RadWindowManager>

Window in Content Page

<telerik:RadWindowManager id="SingletonContent" runat="server" Skin="Office2007" DestroyOnClose="false" VisibleStatusbar="false">
        <windows>
            <telerik:RadWindow id="dwFxRateEntry"
                Skin="Office2007"
                ReloadOnShow = "false"
                Left="5px"
                Modal = "true"
                Runat="server"
                Width="700px"                         
                Height="600px"
                Title="FX Rate Listing">
            </telerik:RadWindow>
        </windows>    
    </telerik:RadWindowManager 
Georgi Tunev
Telerik team
 answered on 19 Mar 2009
2 answers
203 views
Hi All

I have a radgrid

Automatic Edit/Update/Insert/Delete

While clicking the edit symbol

text boxes appears.

But in my database I have set the maxlength to 50

But here I am able to type more than that.

Is there any possible way to set the maximum limit in Edit Mode.

Thank You

-Anto
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 19 Mar 2009
1 answer
87 views
Hi there,

I'm new to this forum and to telerik controls.

Can anyone tell me how I can add a picture that would span across multiple columns (approximately 3 columns) for each row of the radgrid?

I would appreciate any help you can provide.

Thanks,
D
Shinu
Top achievements
Rank 2
 answered on 19 Mar 2009
1 answer
182 views
Hi All

I have a radgrid

Automatic Update/Insert/Delete

I have just 2 field.

Product Name and Product Description

So while clicking the edit two textboxes appears and I have set the width for it.

ok Here I am able to type numbers

Is there any possibility to restrict it.

Thank You

-Anto
Princy
Top achievements
Rank 2
 answered on 19 Mar 2009
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?