Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
252 views
I want to see a menu list when i right click on a row in RadGrid.
Can anyone tell me what is the best way to implement this i.e

1. how to track right click even on a radgrid row
2. open up a menu on right click.

Also, does telerik have a menu suitable for this scenario.
My menu would have some items one after the other

3. I need to click on various items on this menu and open a new url

Please help me out with these three items

Thanks
Georgi Krustev
Telerik team
 answered on 05 Dec 2008
3 answers
82 views
Can the Rad editor for Asp.net ajax  be created on the client with the $create() method?

on the client with javascript?
or does it need to always be declarativly put on the page with tags etc...
Tervel
Telerik team
 answered on 05 Dec 2008
2 answers
247 views
if (e.Item is GridDataItem)  
            {  
                GridDataItem dataItem = (GridDataItem)e.Item;  
                  
                if (dataItem["Scenario"].Text == "Scenario1")  
                {  
                    foreach (Control ctrl in dataItem["Action"].Controls)  
                    {  
                        ctrl.Visible = false;  
                    }  
                    dataItem["Action"].Controls[1].Visible = true;    
                }  
                else if (dataItem["Scenario"].Text == "Scenario2")  
                {  
                    //Do something else  
                } 

Hello,

I have a GridTemplateColumn in my grid in which there are three LinkButton controls.  Based on values in the current item, I need to be able to either show or hide these LinkButtons.  The code above is from my grid's ItemDataBound event.  As you can see, I'm accessing the controls in the column by their index.  Isn't there a better way?  Who knows what other controls might be in there that I'm unaware of...I might NOT want all of them to be invisible.

Eric Skaggs
Eric Skaggs
Top achievements
Rank 2
 answered on 05 Dec 2008
2 answers
116 views
Hello,
The times in my time picker are not visible.
I even detached my sites style sheet to see it was causing it - and it its not

http://simpletick.com/Sell-Tickets-Online.aspx
Aron
Top achievements
Rank 2
 answered on 05 Dec 2008
2 answers
120 views
Hi, I do not speak english very well, but i'm working hard in my english, some times it's very complicated to make a question, can i ask you in spanish?, it will be a great help, in the meantime i continue working in my english.

sorry for my english
Thanks
jav
Top achievements
Rank 1
 answered on 05 Dec 2008
4 answers
156 views
Hi, I'm having a problem with the calendar control. My implementation calls for me to use my own previous/next month controls rather than the ones built into the navigation bar. I've placed a button on the page, and set a server-side event on it that calls like this:

calendar.FocusedDate = calendar.FocusedDate.AddMonths(1);

This works fine in changing the month, but when the page re-displays, the classes applied to all the day numbers are wrong, the numbers that belong to the previous month are shown in black but the ones for the current month are greyed out. It's as if the CSS is still showing the month I have paged away from as selected. If you hover over the individual day numbers, they reset themselves to the correct style. Any ideas on how to fix this?

Here is the code, I'm using Telerik assembly version 2008.3.1105.20:

testbed.aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestBed.aspx.cs" Inherits="Twofour.MediaFreedom.Administration.TestBed" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title>Test bed</title> 
</head> 
<body> 
    <form id="form1" runat="server"
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
     
        <div> 
            <asp:Button ID="btnNext" runat="server" Text="Go To Next Month &gt;&gt;" OnClick="btnNext_Click" /> 
        </div> 
 
        <telerik:RadCalendar ID="calendar" runat="server" /> 
 
    </form> 
</body> 
</html> 

testbed.aspx.cs:

using System; 
using System.Web.UI; 
 
namespace Twofour.MediaFreedom.Administration 
    public partial class TestBed : Page 
    { 
        protected void Page_Load(object sender, EventArgs e) 
        { 
        } 
 
        protected void btnNext_Click(object sender, EventArgs e) 
        { 
            calendar.FocusedDate = calendar.FocusedDate.AddMonths(1); 
        } 
    } 
 

testbed.aspx.designer.cs:

//------------------------------------------------------------------------------ 
// <auto-generated> 
//     This code was generated by a tool. 
//     Runtime Version:2.0.50727.3053 
// 
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated. 
// </auto-generated> 
//------------------------------------------------------------------------------ 
 
namespace Twofour.MediaFreedom.Administration { 
     
     
    public partial class TestBed { 
         
        /// <summary> 
        /// form1 control. 
        /// </summary> 
        /// <remarks> 
        /// Auto-generated field. 
        /// To modify move field declaration from designer file to code-behind file. 
        /// </remarks> 
        protected global::System.Web.UI.HtmlControls.HtmlForm form1; 
         
        /// <summary> 
        /// RadScriptManager1 control. 
        /// </summary> 
        /// <remarks> 
        /// Auto-generated field. 
        /// To modify move field declaration from designer file to code-behind file. 
        /// </remarks> 
        protected global::Telerik.Web.UI.RadScriptManager RadScriptManager1; 
         
        /// <summary> 
        /// btnNext control. 
        /// </summary> 
        /// <remarks> 
        /// Auto-generated field. 
        /// To modify move field declaration from designer file to code-behind file. 
        /// </remarks> 
        protected global::System.Web.UI.WebControls.Button btnNext; 
         
        /// <summary> 
        /// calendar control. 
        /// </summary> 
        /// <remarks> 
        /// Auto-generated field. 
        /// To modify move field declaration from designer file to code-behind file. 
        /// </remarks> 
        protected global::Telerik.Web.UI.RadCalendar calendar; 
    } 
 

Thanks,
Dave Trelfa
Top achievements
Rank 1
 answered on 05 Dec 2008
7 answers
178 views
Hi

Is it possible to display the confirmation window from the client side OnClientAppointmentDeleting

event?
Peter
Telerik team
 answered on 05 Dec 2008
1 answer
191 views
Hello,
when I am trying to load DefaultCS.aspx on the server IIS 7 (the main page of examples which loads after install at localhost), I get the following error:

Description:
An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'asp:ScriptManager'.

Source Error:

Line 26: 	<form id="Form1" name="Form1" runat="server"> 
Line 27: <qsf:Header ID="Header1" runat="server" NavigationLanguage="c#" OnLoad="Header1_Load" />
Line 28: <asp:ScriptManager id="ScriptManager" runat="server" />
Line 29: <div class="qsfDemosLeft">
Line 30: <div class="qsfDemos">

Source File: /DefaultCS.aspx    Line: 28

Where is the problem? Missing file?
Also it gives

Parser Error Message: Unknown server tag 'telerik:treenavigation'.

Source Error:

Line 1:  <%@ Register tagPrefix="telerik" namespace="Telerik.QuickStart"%>
Line 2:  <%@ Control Language="c#" AutoEventWireup="false" Inherits="Telerik.QuickStart.ExamplesNavigation" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
Line 3:  <telerik:treenavigation id="treeNavigator" CssClass="navigationNodes" runat="server" 
Line 4:  		NewExampleImageUrl="~/Common/new.gif" EnableViewState="False"></telerik:treenavigation>



Thanks
Konstantin


Veselin Vasilev
Telerik team
 answered on 05 Dec 2008
3 answers
89 views
Hi,

I am displaying several color pickers on a page which is located inside a page which is loaded into a RadSplitter.  When the page is scrolled, the color pickers do not scroll with the page and stay static on the screen where they were originally positioned.  I have tried to change the positioning of the pickers and the content page with no effect.  Can you please suggest a workaround for this?

Thanks.
Svetlina Anati
Telerik team
 answered on 05 Dec 2008
2 answers
181 views
I have a tabstrip like below. I tried to make them behave like this:
- the level 2 childtabs always show
- when I click "Level 1 - tab 2" tab but not "Level 2 - tab 2.1" yet, I like it show page p21.aspx right away.
Please give me some hints, thanks. d-cpt

<telerik:RadTabStrip runat="server" ID="radTabEduc" SelectedIndex="0" Skin="Default">
  <Tabs>
    <telerik:RadTab Text="Level 1 - tab 1" Selected="True" runat="server" NavigateUrl=p1.aspx>
    </telerik:RadTab>
    <telerik:RadTab Text="Level 1 - tab 2" runat="server">
      <Tabs>
         <telerik:RadTab Text="Level 2 - tab 2.1" runat="server" NavigateUrl=p21.aspx>
         </telerik:RadTab>
         <telerik:RadTab Text="Level 2 - tab 2.2" runat="server" NavigateUrl=p22.aspx>
         </telerik:RadTab>
       </Tabs>
    </telerik:RadTab>
  </Tab>
</telerik:RadTabStrip>
d-cpt
Top achievements
Rank 2
 answered on 05 Dec 2008
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?