Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
291 views

We are working with the Telerik RadMenu.  We want to change the graphic for the Menu Bar, our users need the option to change the graphic that appears at the top left.  Our options are to use the Telerik button image or a Menu Bar image without any graphic.  Both images contain the menu bar with the circle corner.  How do we display the proper menu bar background of the tope left corner and the uploaded graphic from the end-user?

Thomas Abruzzo
Top achievements
Rank 1
 answered on 07 Jul 2010
3 answers
83 views
I have two Raddatepicker controls on my webpage. Calendar pop-up position is not showing correctly.   It is showing perfect in IE. in Firefox the popup is away from the textbox.
Maria Ilieva
Telerik team
 answered on 07 Jul 2010
7 answers
259 views
On each content page I placed code in the Load event when Postback is true and False to capture that the user is still logged in. When the user interacts with the controls inside the RadAjax panel those lines of code in the Load event don't trigger. I also tried the Prerender event but it doesn't seem to trigger that event either.
Problem: on which page event or panel event could I place my code that fires any time a user interacts with controls inside the RadAjax panel?
Maria Ilieva
Telerik team
 answered on 07 Jul 2010
2 answers
759 views
Hi,

Can anyone please suggest me how can I disable the "Maximize" and "Minimize" buttons of a RadWindow?

Thanks
Debashis Pyne
Top achievements
Rank 1
 answered on 07 Jul 2010
3 answers
119 views
Hi,
    My requirement is to add some text at specific coordinates. For that I tried style"position:absolute; top:200; left:300". If i make this change in html mode, it reflects in design and preview mode. But when i exporttopdf, positioning is lost.

    Please tell me how I can achieve this?

Thanks,
Disha
Dobromir
Telerik team
 answered on 07 Jul 2010
3 answers
175 views

On button click I open a rad window . If opens fine when I close it and try to reopen with button click it won’t open on first click. But when I click one more time it opens fine.
This is the mark up for Radwindow.

 

      <telerik:RadWindowManager ID="RadWindowManager1" runat="server" OnClientClose="OnClientClose" >

                                          <Windows>

                                                <telerik:RadWindow ID="radAccountSetup" runat="server" Behavior="Default" InitialBehavior="None"

                                                      Left="0" NavigateUrl="~/SubscriberSetupPages/SubscriberSetupWizard1.aspx" Style="display: none;"

                                                      Top="0" OpenerElementID="<%# btnAccountSetup.ClientID %> " Width="825px" Height="550px"

                                                      AutoSize="false" Animation="Resize" KeepInScreenBounds="False" Modal="False"

                                                      VisibleStatusbar="False" Skin="Telerik" Title="Account Setup Wizard" VisibleTitlebar="False" DestroyOnClose="True">

                                                </telerik:RadWindow>

                                          </Windows> 

                                    </telerik:RadWindowManager>

Svetlina Anati
Telerik team
 answered on 07 Jul 2010
5 answers
113 views
Hello,

I am trying to access selected resource key from appointmentInsert event, but it returns null.
e.Appointment.Resources.GetResourceByType("Scheduler.Room") 

By debugging the code, I found the e.Appointment.Resources is empty, but I can see my resources are loaded in the inserting form.
The inserting form is a customized form downloaded from telerik website.

Anyone can help me with this?
Peter
Telerik team
 answered on 07 Jul 2010
1 answer
137 views
Hi,

We are using the RadTreeView control in our application. We wanted to show the context menu Onclick of a node in the tree. Presently the context menu is displayed on right clicking of any node in the tree. Can we change the beharvior? If yes then how?.


thanks
Pavaman
Princy
Top achievements
Rank 2
 answered on 07 Jul 2010
3 answers
161 views
 Hello,

I am creating the RadWindowManager in the Page.Init event handler on every PostBack using the following code:

Dim cmdWindowManager As RadWindowManager = New RadWindowManager 
cmdWindowManager.ID = "CommandWindowManager" 
 
Dim cmdWindow As RadWindow = New RadWindow 
cmdWindow.ID = "CommandWindow" 
cmdWindow.ReloadOnShow = True 
cmdWindow.ShowContentDuringLoad = False 
cmdWindow.Modal = True 
cmdWindow.AutoSize = True 
cmdWindow.Width = Unit.Pixel(450) 
cmdWindow.Height = Unit.Pixel(150) 
 
cmdWindowManager.Windows.Add(cmdWindow) 
 
contentContainer.Controls.Add(cmdWindowManager) 

where contentContainer is an AspPanel in my ContentPage, which means I am using MasterPage also. I must add the RadWindowManager programmatic because it is done in a BasePage class from which all other content pages inherit.

I have tried many combination of the JavaScript that would show me the RadWindow, but I never got to see it shown. Here are two approaches that I tried (I am passing the RadWindowManager.ClientId to the function that generates the bellow JavaScripts).
The JavaScript I am adding everytime to the contentContainer (also on Page.Init) is:

function ShowEditForm(formUrl, formTitle) {  
var oWnd = window.radopen(formUrl, formTitle);  
return false;  
}  
  
function ShowInsertForm(formUrl, formTitle) {  
alert('test');  
var oWnd = $find(ctl00_ContentPlaceHolderMain_CommandWindowManager).GetWindowByName('CommandWindow');  
oWnd.SetUrl(formUrl);  
oWnd.Show(); 
return false;  
}   

and the code that I am adding to the same contentContainer after the Grid.ItemCommand event is:
' configure Client Script for Command Items 
Dim radCodeBlockAction As RadScriptBlock = New RadScriptBlock 
Dim script As New LiteralControl("<script type=""text/javascript"" language=""javascript""> " & Environment.NewLine & _ 
                                         String.Format(ACTION_FUNCTION_FORMAT, _ 
                                                       ActionFunction, _ 
                                                       ActionFormUrl, _ 
                                                       FormTitle) & Environment.NewLine & _ 
                                         "</script>"
 
' the result of String.Format is "ShowInsert('edit.aspx','CommandWindow')" 
 
radCodeBlockAction.Controls.Clear() 
radCodeBlockAction.Controls.Add(script) 
 
contentContainer.Controls.Add(radCodeBlockAction) 



So the code gets executed but client script debugger stops at:

var oWnd = window.radopen(formUrl, formTitle);  
or:
var oWnd = $find(ctl00_ContentPlaceHolderMain_CommandWindowManager).GetWindowByName('CommandWindow');


with the error: Microsoft JScript runtime error: 'null' is null or not an object.
Could you please give me a quick response.

Thank you in advance!

Regards,
Vladimir



Georgi Tunev
Telerik team
 answered on 07 Jul 2010
1 answer
84 views
I recently upgraded my web applications to use the ASP.NET 3.5 framework.  I am about to upgrade the Telerik dlls from 2.0 to 3.5.  Are there any functional differences I should be aware of?  Does 3.5 offer any enhancements to the Telerik controls over 2.0?  I can't find any support documentation on this topic.  Thanks.
Sebastian
Telerik team
 answered on 07 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?