Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
Hi 

I am browsing a asp.net webpage inside the radwindow and i am trying to close the window from that asp.net page by C#.
After doing my functionlity i am calling:

 ScriptManager.RegisterClientScriptBlock(this, GetType(), Guid.NewGuid().ToString(), "window.close()", true);

but it is not working for me can any body having the same problem.. I am using Chroome.

Imran
Princy
Top achievements
Rank 2
 answered on 04 Jun 2012
1 answer
76 views
Hi,
  I have scenario where i have filter option enabled for a drop down.
While binding from database value of budflg="T" but while displaying in UI, I will be displaying it as "True".
Now if i try to filter the the option with "True" value - It says no record to display as budflg will contain "T".
 how to filter in this scenario ?? Please help

 <telerik:GridTemplateColumn HeaderText="Budget" UniqueName="budflg" DataField="budflg"  FilterControlWidth="90%"
                                AllowFiltering="true">
                                <ItemTemplate>
                                    <asp:Dropdown ID="drpDownBdgt" CssClass="txtbx" runat="server" "
                                        Width="99%">
                                    </asp:DropDown>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <asp:Dropdown ID="drpDownFooterBdgt" class="txtbx" runat="server"
                                        Width="98%">
                                    </asp:Dropdown>
                                </FooterTemplate>
                                 <HeaderStyle ForeColor="Red" />
                                <FooterStyle BackColor="WhiteSmoke" />
                            </telerik:GridTemplateColumn>

Any help on this ???
Regards,
Akki
Akki
Top achievements
Rank 1
 answered on 04 Jun 2012
1 answer
103 views
Hi,
i have provided the contextmenu for radtreeview node(new,edit,delete). on click of edit i had done in the below way

treeNode.startEdit();

in the oncontextmenuedit click, but is coming into the edit mode, immediately it is going into the normal non editable mode. what is the wrong i am doing?
thanks,
Mohinder Goswami.

Shinu
Top achievements
Rank 2
 answered on 04 Jun 2012
0 answers
73 views

I have used RadFilter control to AddExpression click event to create telerik RadComboBox and display telerik RadComboBox. how could i display RadComboBox. theb Remove option click to visible=false.

Advanced Thanks
Tamim
Tamim
Top achievements
Rank 1
 asked on 04 Jun 2012
3 answers
83 views
I have grid that contains a GridDropDownColumn (data from a different table).  This uses a different value in the ListValueField than it does in the ListTextField.  The reason is because I need a less descriptive value for use as a QueryString later on.  I need to keep the descriptive text as well on the database for the record.  How can I save both values in my database using the single GridDropDownColumn?  Do I need to use code behind?  If so, what event needs to be used?

Thanks!
Princy
Top achievements
Rank 2
 answered on 04 Jun 2012
1 answer
125 views
I'm trying to create a fly-out or "mega-menu", and I'd like to hide the icon "column" to the left of each menu item. I found this article: http://www.telerik.com/community/forums/aspnet-ajax/menu/hide-the-icon-column-for-radmenu-items.aspx, but it didn't have any effect.

Perhaps this technique is obsolete? Or perhaps I'm just doing something bone-headed? I'm a Telerik newbie working on the trial period evaluation, so I need all the help I can get.

Anyone have any ideas?

-BillyB
Shinu
Top achievements
Rank 2
 answered on 04 Jun 2012
1 answer
83 views
Hi,
i am using RadTreeveiw in my project,  as a part of Section 508 i enabled the checkboxes, as a result of which we can go to the nodes using tabs, upto here it is fine.

now my problem is i am not interested to check or uncheck the checkboxes. is there any property to do that?

even if he clicks also i am not interested to check it?
thank you,
Mohinder Goswami.
Princy
Top achievements
Rank 2
 answered on 04 Jun 2012
8 answers
155 views

I have a page that contains a RadWindow with RadPageViews. When the window is loaded it dynamically creates a pageview and adds a user control that contains a RadEditor control. Everything loads fine however it is throwing a javascript error "c.parentNode is null" after the page is saved.

After doing some debugging it looks like it is occuring when the dispose method is called for the RadEditor. Any help is appreciated.
On Load: c.parentNode = ctl00_ContentPlaceHolder1_RadWindow1_C_PageComponent1_RadEditor1Center

Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated
    Dim pageComponent As PageComponent = LoadControl("Editor.ascx")
    pageComponent.BindData()
    e.PageView.Controls.Add(pageComponent)
End Sub
Chen
Top achievements
Rank 1
 answered on 03 Jun 2012
0 answers
110 views
Hi Team,
I am facing issue with RadToolBar button. I am trying to open ModalPopup extender on specific RadToolBar button but unable to do it.How I can do It. I want to handle it on JavaScript. Please find my code.
PopUp open when i click on any place on RadToolBar.Please provide 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 ParentForm : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
 
        }
 
       
    }
}
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ParentForm.aspx.cs" Inherits="GridPopUpTest.ParentForm" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
 
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <link href="Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-1.4.1.js" type="text/javascript"></script>
     
</head>
<body>
 
 
    <form id="form1" runat="server">
      <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
     <script type="text/javascript">
 
 
         function OnClientButtonClicking(sender, eventArgs) {
 
             var button = eventArgs.get_item();
             alert(button.get_text());
             if (eventArgs.get_item().get_value() == "NoPopUp") {
                 //eventArgs.set_cancel(true);
                 HideModalPopup();
             }
             if (eventArgs.get_item().get_value() == "PopUp") {
                 //eventArgs.set_cancel(true);
                 ShowModalPopup();
             }
         }
         function ShowModalPopup() {
             $find("ModalBehaviour1").show();
         }
         function HideModalPopup() {
             $find("ModalBehaviour1").hide();
         }
         function JobsRowSelected(sender, args) {
             var id = args.get_id();
             var inputCheckBox = $get(id).getElementsByTagName("input")[0];
             if (!inputCheckBox) {
                 args.set_cancel(true);
             }
             if (inputCheckBox.checked == true) {
                 inputCheckBox.checked = false;
             }
             else {
                 inputCheckBox.checked = true;
             }
         }
      
     </script>
    
    <div>
     
 
 
        <telerik:RadToolBar ID="RadToolBar1" runat="server"   OnClientButtonClicking="OnClientButtonClicking">
        <Items>
            <telerik:RadToolBarButton Text="NoPopUp" Value="NoPopUp" ></telerik:RadToolBarButton>
            <telerik:RadToolBarButton Text="OpenpopUp"  Value="PopUp"></telerik:RadToolBarButton>
        </Items>
        </telerik:RadToolBar>
         
         <asp:Panel runat="server" ID="pnldtls">
            <table>
                <tr>
                    <td>Name</td>
                    <td><asp:TextBox ID="txtName" runat="server"></asp:TextBox></td>
                </tr>
                <tr>
                    <td><asp:Button ID="btnOk" Text="Ok" runat="server" /></td>
                    <td><asp:Button ID="btnCancel" Text="Cancel" runat="server" /></td>
                </tr>
            </table>
             
         </asp:Panel>
          <cc1:modalpopupextender id="ModalPopupExtender1" runat="server" BehaviorID="ModalBehaviour1"
    cancelcontrolid="btnCancel" okcontrolid="btnOk" BackgroundCssClass="ModalPopupBG"
    targetcontrolid="RadToolBar1" popupcontrolid="pnldtls" DropShadow="false">
</cc1:modalpopupextender>
    </div>
    </form>
</body>
</html>
chandan singh
Top achievements
Rank 1
 asked on 03 Jun 2012
0 answers
55 views
Hi,

I created a grid on server side (following your tutorials), and I have a problem with PageSizeChanged and PageIndexChanged events of the grid.

The events are gettign fired, but the problem is that inside the event GridReport_PageSizeChanged, when I try to get the new value (e.NewPageSize), the value still contains the old one (before the change).
For example, If the initial value is 10, and I change to 20, e.NewPageSize returns 10.
The same happens when the event GridReport_PageIndexChanged is fired when I change the page size from textbox and not from the buttons. e.NewPageIndex property contains the old value. (If I use the number buttons to change the page index it works fine).

Is there any solution? how can I make things work correctly?

Thanks!
Covertix
Top achievements
Rank 1
 asked on 03 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?