Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
87 views
UPDATE: My apologies for asking a question easily answered by a few pokes around on the website.
--------------------------

Background:
I am not allowed to call the database directly from the presentation layer. Stored procedures have been wrapped as methods in the DAL and made available to the Presentation layer via methods in the BLL.

Question: Is there any way to use methods or delegates as a source supporting Load-On-Demand for a RadComboBox?

Brad
Brad
Top achievements
Rank 1
 asked on 13 Oct 2010
1 answer
63 views
I am having an issue opening the file when exporting a RadGrid to excel in a 64 bit version of IE.  The same page works fine with the 32 bit version of IE.  When it fires off the export function you get prompted to open or save the file.  In both versions when you save the file you can open it just fine but  in the 64 bit IE8 version when you click the open option nothing happens.  The open works fine in the 32 bit version of IE.  I was wondering if the telerik people experienced this behavior also.  Is there a browser setting that might influence this behavior?  Thanks in advance for any help.
Daniel
Telerik team
 answered on 13 Oct 2010
1 answer
101 views
Hi There,

I have a standard RadGrid (v2009.2.701.20) implemented with EditMode set to "PopUp" in the MasterTableView. Is there a standard way to lock the position of the modal popup window and prevent the user from moving it around the screen?

Any help on this is appreciated.

Thanks!
Jerry
Daniel
Telerik team
 answered on 13 Oct 2010
3 answers
389 views
Hi Guys,

I think this is a simple one - I'm missing something basic.

I'm running the following;

' The item exists, so select it
inDDL.SelectedIndex = inDDL.FindItemIndexByValue(selectValue)

However Im not getting the right result. When I look at the control after this code has executed the combo box shows the first item in the list as opposed to the one I have just selected. If I exapnd the drop down list so I can see all the items, the one I have "selected" in my code is highlighted, but not the one shown when the box is not expanded.

How can I make the selected item the one that is shown in the collapsed combo box?

Shane
Shane Clay
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
95 views
When I add comments in JavaScript functions (with //) they all can be seen on client browser with "View Source" option. Is this normal? In my opinion this should not be seen.
Tsvetina
Telerik team
 answered on 13 Oct 2010
1 answer
116 views
Hi,

I'm using a RadMenu to display the first levels of my sitemap.

I use ajax to load menuitems on demand.

It's working well, but it's a little bit slow in IE6, so I would like to display a loading image or something. I'm trying to use the LoadingStatusTemplate property but it doesn't work...

Here's the code from my menu (a UserControl)
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadMenu1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadMenu1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadMenu ID="RadMenu1" runat="server"
    DataSourceID="SiteMapDataSource1"
    MaxDataBindDepth="1"
    DataTextField="Title"
    DataValueField="Key"
    DataNavigateUrlField="Url"
    OnItemDataBound="RadMenu1_ItemDataBound">
   <LoadingStatusTemplate>
       <asp:Image runat="server" ID="LoadingImage" ImageUrl="~/common/images/ajax-loader.gif" ToolTip="Loading..." Width="16px" Height="16px" />
   </LoadingStatusTemplate>   
    <WebServiceSettings Path="~/Webservices/SiteMenuService.svc" Method="LoadData" />
    <DataBindings>
        <telerik:RadMenuItemBinding Depth="0" ExpandMode="WebService" />
    </DataBindings>
</telerik:RadMenu>

Any idea if something is wrong or missing ?

Thank you,

Olivier
Yana
Telerik team
 answered on 13 Oct 2010
3 answers
130 views

Hello,

I have one RadAjaxManager on my parent page.
this page also contains the RadTabstrip Control. My Tabs are dynamically created according to my requirement. i have two modules.
Suppose my Page is contact.aspx which is called by two hyperlinks. 1. my account 2. contact edit.
when link1 My account is called at that time i do not want to load my 2nd Tab. i needed only 1st Tab.
when link2 Contact edit is called at that time i want to display my both the tabs. i had a requirement that i have to use dynamic tab creation only.

i have added Radajaxmanager settings like below.
Radgrid1 is on my one module and Radgrid2 is on my 2nd module.
When contact edit page called radgrid 1 and radgrid2 both are loaded and Ajax is working fine.
But when my account page is displaying at that time only RadGrid1 is displaying. when i click on edit button of grid my dynamic template gets open with save and cancel button. click on any of these buttons Ajaxloading panel is not displaying. but if i comment the code below then it is working.

<telerik:AjaxSetting AjaxControlID="RadGrid2"> 

 

 

<UpdatedControls> 

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid2" /> 

 

 

</UpdatedControls> 

 

 

</telerik:AjaxSetting>

 

 

 


my contact page contains below radajax settings.

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
<AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">

 

 

            <UpdatedControls>

 

 

                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="AjaxLoadingPanel1" />

 

                    <telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="AjaxLoadingPanel1" />

            </UpdatedControls>

 

 

        </telerik:AjaxSetting>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

            <UpdatedControls>

 

 

                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />

 

 

              </UpdatedControls>

 

 

</telerik:AjaxSetting>

 

<telerik:AjaxSetting AjaxControlID="RadGrid2"> 

 

 

        <UpdatedControls> 

 

 

                <telerik:AjaxUpdatedControl ControlID="RadGrid2" /> 

 

 

        </UpdatedControls> 

 

 

</telerik:AjaxSetting>

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

Thanks
Sweta

 

Tsvetina
Telerik team
 answered on 13 Oct 2010
5 answers
230 views
Hi, 
Wants to set Combox empty message at runtime


 

 

 

<telerik:RadComboBox ID="ddlAction1"

 

 

Width="110px" runat="server" EmptyMessage="Select Action" AllowCustomText="true"  Height="55px" OnClientLoad="OnClientLoad"  >

 

 

 

 

 

 

<Items>

 

 

 

 

 

 

<telerik:RadComboBoxItem Text="Copy" Value="2" />

 

 

 

 

 

 

<telerik:RadComboBoxItem Text="Delete" Value="1" />

 

 

 

 

 

 

</Items>

 

 

 

 

 

 

</telerik:RadComboBox>

 

After selecting any action copy or delete it performs repective code at cs side
I used both methods at cs end

 

 

 

ddlAction1.ClearSelection() method
even set ddlAction1.EmptyMessage = "Select Action"

i want to set empty message after every action
please let me know
Thanks

 

Hakan
Top achievements
Rank 1
 answered on 13 Oct 2010
1 answer
77 views

Hi All,

http://www.telerik.com/help/aspnet-ajax/localization-global-resources.html i'm follow this steps but i can't localized to  "27 items in 2 pages"

How can it?

Thanks

Daniel
Telerik team
 answered on 13 Oct 2010
3 answers
120 views
Hi,
I am using RadEditor and custom validation to check whether number of characters is more than 1000 (including html tags).
Here is the code part,
     <radE:RadEditor StripFormattingOnPaste="noneSupressCleanMessage" Height="100px" Width="98%"
                                        ID="_LongDescription" runat="server" OnClientLoad="OnClientLoadDetails" >
                                    </radE:RadEditor>

When i use the backspace to delete the text, text is getting removed but html tags still remains same. I am facing this problem while performing validation.

Any help is appreciated.

Thanks
Rumen
Telerik team
 answered on 13 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?