You are browsing Ajax Control Forum.

RadToolBar button hardy - Ajax Forum - ASP.NET Controls

I am facing hardy with RadToolBar button. I am trying to open ModalPopup extender on specific RadToolBar button but not able to do it.How I can do It. I wana to handle it on JavaScript. Please find my code snippet.
PopUp open when i click on any place on RadToolBar.Please give me solution.
using System;
using System.collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
namespace GridPopUpTest
public partial class Pare notForm : System.Web.UI.Page
protected void Page_Load(Object sender, EventArgs e)

http: TR xhtml1 DTD xhtml1-transitional.dtd">
<html xmlns="http: 1999 xhtml">
<head runat="server">
<link href="Styles Site.css" rel="stylesheet" type="text css" >
<script src="Scripts jquery-1.4.1.js" type="text javascript">script>
<body><form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<script type="text javascript">function OnclientButtonClicking(sender, eventArgs) {
var button = eventArgs.get_item();
if (eventArgs.get_item().get_value() == "NoPopUp") {
if (eventArgs.get_item().get_value() == "PopUp") {
function ShowModalPopup() {
function HideModalPopup() {
function JobsRowSelected(sender, args) {
var id = args.get_id();
var inputCheckBox = $get(id).getElementsByTagName("input")[0];
if ( inputCheckBox) {
if (inputCheckBox.checked == true) {
inputCheckBox.checked = false;
else {
inputCheckBox.checked = true;
<telerik:RadToolBar ID="RadToolBar1" runat="server" OnclientButtonClicking="OnclientButtonClicking">
<telerik:RadToolBarButton Text="NoPopUp" Value="NoPopUp" >telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="OpenpopUp" Value="PopUp">telerik:RadToolBarButton>
<asp:Panel runat="server" ID="pnldtls">
<td><asp:TextBox ID="txtName" runat="server">asp:TextBox>td>
<td><asp:Button ID="btnOk" Text="Ok" runat="server" >td>
<td><asp:Button ID="btnCancel" Text="Cancel" runat="server" >td>
<cc1:modalpopupextender id="ModalPopupExtender1" runat="server" BehaviorID="ModalBehaviour1"
cancelcontrolid="btnCancel" okcontrolid="btnOk" BackgroundCssClass="ModalPopupBG"
targetcontrolid="RadToolBar1" popupcontrolid="pnldtls" DropShadow="false">
Posted On: Saturday, September 22, 2012 Total Views: 108
View Complete with Replies


This webpage contains content related to Ajax Control. If question related to "RadToolBar button hardy - Ajax Forum - ASP.NET Controls" is not helpful or you didn't find the question or answer you were looking for then you can ask a new question through contact form. Our development Team will be happy to help you. This article was posted on Saturday, September 22, 2012 and having 108 views till Tuesday, July 28, 2015.

Thank You

Related Messages:

RadAjaxLoadingPanel wouldn't display on HTML Server side button - Ajax Forum - ASP.NET Controls  (126 Views)
Solution attached..Attached files
View Replies !
How to exclude the AJAX post back for link button in GridView - Ajax Forum - ASP.NET Controls  (119 Views)
I've a search button and a RadGrid which will have a template to include a link button. The link button is used to download file. While click the search button it will bind the GridView.I put atelerik:RadAjaxLoadingPanel to include the RadGrid and add following code snippet:

View Replies !
RadAjaxManager and linkbutton click event - Ajax Forum - ASP.NET Controls  (138 Views)
hello i have some linkbuttons like manu items with onClick event, witch set css attributes and loading various usercontrols in placehoder control.
here is code snippet for one of my linkbuttons:protected void homeBtn_Click(Object sender, EventArgs e)

ControlPath = "Mai
View Replies !
GridView link button in RadAjaxManger - Ajax Forum - ASP.NET Controls  (62 Views)

i have linkbutton with commandargments to find the selectd value inside a Gridsee which on click browses to new page withselectd valuein Quey String whic is used in landing page to display some datathis GridViewis ajaxified using radajaxmanger.

we shows 100 rows grouping 10rows a
View Replies !
Strange Ajax Behavior with Radatabaseutton RadAjaxPanel RadAjaxManagerProxy RadAjaxManager RadScriptManager - Ajax Forum - ASP.NET Controls  (160 Views)
I am having the hardest time getting a RadButton to invoke a function in the code snippet-behind file which edits the text of the RadButton. So far I can get the button to fire with Ajax, but even though the function alters the text it isn't reflected back onscreen. Furthermore, the 2nd time I cli
View Replies !
button click event not firing if onclientclick event happlicationens first - Ajax Forum - ASP.NET Controls  (204 Views)
I am performing the rather laborious job of upgrading from q3 2007 to ajax q1 2010. One of the several hardys I've faced so far is my standard buttons which require a clientside confirmation before the postback is fired.
Example I've a reasonably easy page with a radscriptmanager,
View Replies !
Update control in master page from ajaxified button in content - Ajax Forum - ASP.NET Controls  (95 Views)
Here's my hardy: I ve a button in my content page on click I wana to upload a label in my master page with ajax.
I've read that:http: assist aspnet ajax ajxmasterpageeditesowhere.html
and tried some thing like that:
In my content page:
Protected Sub Page_Load(By
View Replies !
Ajax Manager does not work with button in RadWindow - Ajax Forum - ASP.NET Controls  (91 Views)
I've configured an ajax manager so that a button inside a radwindow would edit the radwindow in which it resides. Instead of working properly the button caused a fullpledgedpostback. Any assist would be very applicationlaudd.
View Replies !
Ajaxifying the page user control button events - Ajax Forum - ASP.NET Controls  (89 Views)
i have one easy page containig 3 link buttons. on which various placeholders are loaded dynamically at runtime (usercontrols). in that control see i have button Save on each page which redirects to other placeholder. But on button click i don't wanas to getpage refersh. what should i use View Replies !
How to make RadAjaxLoadingPanel display when a button in a RadToolbar is clicked. - Ajax Forum - ASP.NET Controls  (128 Views)

Try the following code snippet Snippet to display RadAjaxLoadingPanel on clicking the RadToolBarButton.
"text javascript">
var currentLoadingPanel = null;
var currentUpdatedControl = null;
function RequestStart(sender args)
currentLoadingPanel = $find("");
View Replies !
how can i recognize the which button is clicked? - Ajax Forum - ASP.NET Controls  (41 Views)
i have added more than one link buttons in each calendar cell. As we know we can't Create click events for the added link button while rendering calendar.i have written code snippet like given below:
foreach (var lstCurrentDayWorkOrder in lstCurrentDayWorkOrders)
var trOfInne
View Replies !
RadAjaxManager full postback on second button click - Ajax Forum - ASP.NET Controls  (171 Views)

I am having a hardy with the RadAjaxManager. When I click the button for the first time it works correclty (doing a partial postback). On the second click, a full postback is done. I found some similar posts on this hardy, but none of them assisted me solved the hardy.
The button is inside a
View Replies !
button removal in rad calendar. - Ajax Forum - ASP.NET Controls  (438 Views)
I wana to remove >> and <
View Replies !
Ajaxify imgbutton in rad grid - Ajax Forum - ASP.NET Controls  (91 Views)
I reseeed the gived code snippet and noticed some basic hardys with the ajax settings you're adding in your software:
1. Please note that it isn't supported to have RadAjaxPanel added in the RadAjaxManager settings or use the both controls for updating the same part of the page. Therefo
View Replies !
Ajaxifing Linkbutton inside RadGrid - Ajax Forum - ASP.NET Controls  (161 Views)
in my web page
the RadGrid editd by RadTreesee
and RadTreeView editd By RadGrid
RadGrid editd by itself
when i add Ajaxifing for Linkbutton inside Template Column for a Panel
i getting the followinf error message msg
Microsoft JScript runtime error message: Sys.InvalidOperat
View Replies !
popup for a button - Ajax Forum - ASP.NET Controls  (73 Views)
I wana to Create a popup for a button.When I click the button the popup will open having some checkbox which is Created in server dynamically.I am able to Create the checkbox and popup.But the popup is visible in between i click the left click and click release.Can someone tell me how i
View Replies !
Disable button to avoid double-click - Ajax Forum - ASP.NET Controls  (104 Views)

I am trying to disable the button by clicking submit (In order to avoid double-click from the user). Below the code snippet which I am using:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text javascript">
function RequestStart(sender args) {View Replies !
Frozen checkbox button and relative positioning in IE 6 - Ajax Forum - ASP.NET Controls  (38 Views)

We are having the same hardy in IE6 and IE7 as noted in the known hardy link: known hardy with buttons
We've been able to resolve IE7
by adding relative positioning to the having block as per the link above, however the same does not seem to work in IE6. Our pages are created dynamically
View Replies !
Accessing the Cancel button in GridEditCommandColumn via enter key - part of a larger hardy - Ajax Forum - ASP.NET Controls  (138 Views)
We have a complex use case with a RadGrid inside a panel on a page with a master page more than one user controls, vaildators, a defaultbutton &c.
The hardy is that with all this going on, accessing the RadGrid via tab and enter keys has become hardyatic.
Tabbing bythe page and getting tothe
View Replies !
ModalPopup for button inside radajaxpanel - Ajax Forum - ASP.NET Controls  (108 Views)
You can take look into the following demo.
Grid PopUp Edit Form
View Replies !