Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
This is what happen. I have an image for a column and on itemdatabound, i will set each of the item with attribute onclick to call a js function(which will make the tooltip appear). This is all good, but the problem is, lets say the image i clicked earlier(in order to make the tooltip appear) is on the 1st row. Then i click on the tooltip x button to close it. Then i hover on the 1st row again, the tooltip appears? But i didn't set the onmouseover attribute. Why is the tooltip appears when hover?

Then if i click on the 2nd row, and i try to hover on the 1st row, the tooltip will not appear. But the problem will happen to the 2nd row. Which to sum it up, the tooltip appeared for the active row. So anyway to turn this off?

Regards,
Dexter

Marin Bratanov
Telerik team
 answered on 23 Jan 2012
5 answers
465 views
We are using RadSpell on touch screens and we cannot restyle or override the confirm dialog (pops up after you hit cancel after changing a word) for bigger buttons so I just want to get rid of it.

OnClientCheckCancelled only fires after a selection is made in the confirm dialog and I cannot suppress it this way

Using 
window.confirm = function(msg){} does not work either.
What can I do to address this?
Rumen
Telerik team
 answered on 23 Jan 2012
1 answer
126 views

Kinda new to telerik.

I have a page with a windowmanager, radwindow, and a customcontrol on it.

the customcontrol uses javascript to open the control on the parent page like so

function UseRadWindowOnParentPage(DialogURL,RadWindowID, Width, Height, Title, argument) {
    var oManager = GetRadWindowManager();
    var oWnd = oManager.GetWindowByName(RadWindowID);
    oWnd.Show();
    oWnd.SetSize(Width, Height);
    oWnd.SetUrl(DialogURL);
    oWnd.SetTitle(Title);
    oWnd.Center();
    oWnd.argument = argument;
 
    oWnd.OnClientClose = function () {
        alert('client close');
    }
}

 

 

oWnd.OnClientClose never fires.
Any idea whats going on?

If i set the OnClientClose property in the radwindow control it works. The radwindow is used several times and not everything is supposed to have a onclientclose event.

I know I could add a radwindow for every popup I need but I got it this far and would prefer to reuse 1 radwindow rather than adding 6 radwindows where the only real difference is the OnClientClose

http://www.telerik.com/help/aspnet/window/radwindowobjectclientside.html so far, most everything I have tried from this link works.

thanks

 

 

Marin Bratanov
Telerik team
 answered on 23 Jan 2012
9 answers
2.0K+ views
Hi,

I have an ASPX page like this:
<head runat="server">  
    <title></title>  
        <script type="text/javascript">  
    function Test() {  
        PageMethods.TestIT();  
        alert("done");  
    }  
</script> 
 
</head> 
 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <telerik:RadScriptManager runat="server" EnablePageMethods="True">  
    </telerik:RadScriptManager> 
 
<button onclick="Test(); return false;">tet</button><br />      
    </div> 
    </form> 
</body> 
</html> 
 
This runs fine.

Now I tried to achive the same thing in a masterpage like this;
<head runat="server">  
    <title></title>  
    <script type="text/javascript">  
    function Test() {  
        PageMethods.TestIT();  
        alert("done");  
    }  
</script> 
 
    <asp:ContentPlaceHolder ID="head" runat="server">  
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form id="form1" runat="server">  
        <telerik:RadScriptManager runat="server" EnablePageMethods="True">  
    </telerik:RadScriptManager> 
 
    <div> 
    <button onclick="Test(); return false;">tet</button><br /> 
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">  
          
        </asp:ContentPlaceHolder> 
    </div> 
    </form> 
 
This results in "Microsoft JScript runtime error: 'PageMethods' is undefined"

What do I have to change to enable the things in a masterpage?

Regards

Manfred
Mich Meow
Top achievements
Rank 1
 answered on 23 Jan 2012
4 answers
223 views
Hi,

I'd like to populate a multicolumn combobox from a datatable, however the examples only seem to show how to do this using the SessionDataSource item. How would I do this with just  simple datatable?

Cheers,
Christian
Christian
Top achievements
Rank 1
 answered on 23 Jan 2012
2 answers
191 views
Greetings,
I have a RadChart control, this is basically just bars, but i need to open a RadWindow when i click on a specific bar
Is this possible?
Thank you in advance
Richard
Top achievements
Rank 1
 answered on 23 Jan 2012
3 answers
253 views
Hi,

Does anybody has an example on how to convert from the asp.net Toolkit ModalPopupExtender to the RadWindow control?
Basically I have this code:

<asp:Button runat="server" ID="hiddenTargetControlForModalPopup" style="display:none"/>

<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderAddEditSample" runat="server"                
				TargetControlID="hiddenTargetControlForModalPopup"                
				PopupControlID="PanelSamples"
				BackgroundCssClass="modalBackground"                 
				DropShadow="true"                                
				>
				</ajaxToolkit:ModalPopupExtender>       
		<!-- modal popup -->
		<asp:Panel ID="PanelSamples" runat="server" Style="displaynone" CssClass="modalPopup"> 
			<asp:UpdatePanel ID="UpdatePanel1" runat="server">                
				<ContentTemplate>
				<!-- a bunch of controls and HTML -->
				</ContentTemplate>            
			</asp:UpdatePanel>
		</asp:Panel>
Is there an easy way to covert this code to a RadWindow? Thanks!
Marin Bratanov
Telerik team
 answered on 23 Jan 2012
4 answers
205 views
What is says.  It's not happening under all circumstances, but when I add a new node and then immediately go to add a child of that it fires the event exactly 4 times for one click.

Of course this causes problems.  I've tried ignoring the extra calls, but it causes a problem because it still interrupts the startEdit() process which it depends on to then connect to the code behind.
Marbry
Top achievements
Rank 1
 answered on 23 Jan 2012
1 answer
74 views
Hi,

I am having a page called employee.aspx. from this page i am opening another page called employeedetails.aspx in the RADWINDOW.

i am performing continues operations in the employeedetails.aspx in the RADWINDOW.  

After that i am minimizing the RADWINDOW, and try to perform operations in the employee.aspx page, now the employee.aspx get refreshed and is not performing the initiated operations.

Can you please provide solution for this?

Thanks in advance. 

Marin Bratanov
Telerik team
 answered on 23 Jan 2012
6 answers
208 views
Have any property in radgrid to freeze the popup  with editing??? 

help me plz
Prava kafle
Top achievements
Rank 1
 answered on 23 Jan 2012
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?