Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
hi.
i have contextmenu with Three items.
I want to Disable the Ajax to 1 and 2 item(s), i want to enable ajax only to 0th item.
0-ViewDetails
1.Audio Download
2.Document Download
<telerik:RadContextMenu ID="RadCDMenu" runat="server" Skin="Hay" Style="position: static" Enabled="False" > 
            <Items> 
                <telerik:RadMenuItem runat="server" Text="View Details"> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="Audio Download"> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="Document Download"> 
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadContextMenu> 



can any one help me how to do this .
i did code like this in Page_Load.

  If RadCDMenu.Items(0).Selected = False Then
            RadScriptManager1.RegisterPostBackControl(RadCDMenu)
  End If
but,it's not working properly.once i disable the ajax i can't able to Enable it.
Here i have to Refresh the page, then only i am getting ajax Enable .

can any one Help Me please....

Thank You
Suresh K
Princy
Top achievements
Rank 2
 answered on 03 Dec 2009
3 answers
95 views
Hi,
 
We're having issues with the paste from word on the Mac with both Safari and Firefox, especially if what's being pasted contains tables. The weird thing is that even though we're using paste from word, the window that comes up is the paste as html and that's probably part of the problem. Everything works fine on a windows PC using IE or Firefox, Safari on windows still has some problems.

Has anyone experience the same issues and if so, is there a work-around for it.

Thanks
Germano
Rumen
Telerik team
 answered on 03 Dec 2009
1 answer
109 views
this code apper in my page!!!

<input  onkeydown="return RadWindowprompt_detectenter('{0}', event, this);" type="text"  class="rwDialogInput" value="{2}" /> 
                </div> 
                <div> 
                    <a onclick="$find('{0}').close(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"              
                        class="rwPopupButton" href="javascript:void(0);" ><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[OK]##</span></span></a> 
 
                    <a onclick="$find('{0}').close(null);" class="rwPopupButton"  href="javascript:void(0);"><span class="rwOuterSpan"><span class="rwInnerSpan">##LOC[Cancel]##</span></span></a> 
                </div> 
 

i used this code

 
<a runat="server"  id="hyperSuggestion" href="#" style="font-family:Tahoma;font-size:8pt" > 
                          Clik here</a> 
<script type="text/javascript"> 

     

hyperSuggestion.Attributes["onclick"] = "openRadWindow('" + queryStringUserID.ToString() + "'); return false;"; 
        
         function OpenPositionedWindow(oButton, url, windowName) 
        { 
            var oWnd = window.radopen(url,windowName); 
        } 
        function openRadWindow(UserID) 
        { 
            var oWnd = radopen("SuggestAsFriend.aspx?UserID=" +UserID, "RadWindow1" ); 
            oWnd.center(); 
        } 
    </script> 










Georgi Tunev
Telerik team
 answered on 03 Dec 2009
3 answers
69 views
Hello all ,

 Am experiencing a strange experience , things was good until i used Telerik UI RadWindow 2008 now ive upgraded my app to 2009 which doesn't support the 'ClientCallBackFunction' property so ive replaced with OnClientClose ="CallBackFunction" and the definition looks like

function CallBackFunction(radWindow, returnValue)
{
    var arg = returnValue;

I got only null in 'arg' ????

Note:

ive used my ClientShow function as

function OnClientShow(radWindow)
{
    var arg = new Object();        
    arg.Type = document.getElementById("<%= Type.ClientID %>").value;
    arg.Node = document.getElementById("<%= NodeName.ClientID %>").value;
    arg.Link = document.getElementById("<%= Link.ClientID %>").value;
    arg.Value = "";
    radWindow.Argument = arg;
}


Any suggestions ??







Georgi Tunev
Telerik team
 answered on 03 Dec 2009
1 answer
33 views
Hello All!

Im new to tekerik products and am currently trying to figure out how to remove RadMenu items from my search index in MOSS 2007.

Any time a search is done with text that appears on the RadMenu, it returns results for every page that the menu is displayed on.  I would like to prevent RadMenu lists/text from being indexed.

Any ideas would be helpfull.

Thanks!
Vesko
Top achievements
Rank 2
 answered on 03 Dec 2009
1 answer
70 views
Is it possible to work with server.execute and RadAjaxManagerProxy?

Default.aspx has the code like

<

 

form id="form1" method="post" runat="server">

 

<

 

asp:ScriptManager ID="ScriptManager" runat="server" />

 

<

 

telerik:RadAjaxManager ID="AjaxManager1" runat="server">

 

</

 

telerik:RadAjaxManager>

server.execute("test.aspx")

 

</

 

form>

 



This page is using a server.execute("test.aspx")

test.aspx page

<

 

telerik:RadAjaxManagerProxy ID="AjaxManagerProxy2" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadMenu1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RadMenu1" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

</

 

telerik:RadAjaxManagerProxy>

 

 

<

 

telerik:RadMenu ID="RadMenu1" runat="server" Style="z-index: 2;" />


Anyone has an idea how to run the radmanagerproxy on this page properly ? (Page coding is at VB)

Iana Tsolova
Telerik team
 answered on 03 Dec 2009
1 answer
176 views
My web page has a Radgrid with a RadComboBox and other controls inside EditItemTemplate tags.
When the RadComboBox OnSelectedIndexChanged is fired in edit mode, i can find other items in edit mode and do things with them.
I use Radgrid.EditItems[0].ItemIndex to find the edit index then i go from there however;

In insert mode Radgrid.EditItems[0].ItemIndex doesnt work hence i cannot find controls.

How can i find controls in insert mode on RadComboBox OnSelectedIndexChanged?

Princy
Top achievements
Rank 2
 answered on 03 Dec 2009
7 answers
178 views
Hello,

In my rad scheduler i've set the working hours as 9 AM - 5 PM. But when i add an event exceeding 5 PM, say 4 PM - 8 PM, i'm getting an arrow mark at the bottom of the event. So what does the arrow mark point to and how can i change its link or how can i hide it from getting displayed? Here is the screen shot.

http://yfrog.com/bgradschedulerarrowj

Note: I'm using it in SharePoint and when i click the arrow it is taking me to the master page gallery. The URL of the arrow is pointing to #.

Thank you.
NLV
Top achievements
Rank 1
 answered on 03 Dec 2009
2 answers
101 views
Hi All,

I have a grid with master table, and this grid have a detailed table. I enabled client side selection (EnableDragToSelectRows="true").
The problem is when I try to select detail table rows with draging It selects the rows withing the drag range along with mastertable rows that are below the expanded master table row ( eventhough they are not in drag range).

Please help me out with this scenario.

Thanks,

Kalpesh
Kalpesh Patel
Top achievements
Rank 1
 answered on 03 Dec 2009
1 answer
96 views
Hi,

I have trouble to access the controls which are in template column header.  Please advice how I can get the controls.

Cheers
Shinu
Top achievements
Rank 2
 answered on 03 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?