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

Hello.  Here is my situation. 

1.  I have a webform named CUSTOMERS.ASPX, it has an AJAX PROXY CONTROL ON IT.  It uses a master page named default.master that has the it has an AJAX CONTROL MANAGER CONTROL on it.

2. This web form (CUSTOMERS.ASPX) has a radTabStrip on it

3. This web form (CUSTOMERS.ASPX) has a radMultipage on it (that is NOT hooked to the tabstrip to switch pageview when tab is clicked)

4. On one of the pageviews of the radmultipage, there is a custom control (GRID.ASCX) it has an ID of grdAllCustomers.

5.  The GRID.ASCX contains a radgrid control on it and an also has AJAX PROXY control on it.  The radgrid is set to autopostback on rowclick.  I use the item_command event to capture rowclicks server side.

Symptom:
when I click a row in the radgrid (which in the GRID.ASCX control), it fires the item_command event in that control.  I then raise that event using raiseevent so that it raises it in the customers.aspx page.  This works, but when I try to change the active tab of the radtab control (which is inside the customers.aspx page), the tab control does not update.

It is strange that in the ajax proxy control on the customers.aspx page, I cannot see the grdAllCustomers custom control.  I would think that I would need to ajaxify the grdAllCustomers control in the customers.aspx page (using the ajax proxy).  But the control is not there.  If i try to ajaxify the control manually by setting up the control in the ajax proxy in the HTML markup but then i get a javascript error.

Am i missing something?  The custom control and the content page and the master page are all blended together into a single page, so the ajax should work and I should be able update the controls during the ajax partial postback - right? 

Tsvetina
Telerik team
 answered on 05 Jan 2012
4 answers
142 views
Dear Friends,

Java Script is disabled in browser, Rad Controls won't working. any other way for working rad controls with out java script enabled.


thanks
-vinoth
Vinoth Arun
Top achievements
Rank 2
 answered on 05 Jan 2012
2 answers
169 views
hi i want to add hiddenvalue with RadTextbox
one of my webpage i m using html input text , i use the name property to add hidden value
mean user couldn't see the value

but in the RadTextbox i couldn't set name property
if i set with Attributes.Add("name", something)
the name property automatcally changed to id

is there any other way to add hiddenvalue related to that particular RadTextbox
Johnny
Top achievements
Rank 2
 answered on 05 Jan 2012
5 answers
87 views
I have a Radgrid with almost 7000 items. So when i click on the export to excel button, it takes quite some time before the file is created and the download message appears.

So i thought on making an loading screen. I've used ajax loading panel. The problem i have is that when i click the export button it triggers the loading panel, but after the download message appears, it stay's "on".... I think it's because the update control (the grid) isn't been updated....

I've search and search, but i can't seem to find a work around this or even an other way to achieve this.

Thanks in advance for the help!
Daniel
Telerik team
 answered on 05 Jan 2012
5 answers
239 views
Every body, please help me.

 I made a (asp.net) UserControl ,  I drag a grid into the usercontrol and rendering this usercontrol in a asp.net page.
Now my question is: I want to export the data from the grid to Excel ,and I follow the instruction within grid help documnet. But I did not see any popup window after I click  the export button.
I use version: RadControls for ASP.NET AJAX Q1 2011
my code snippet here: 

        <MasterTableView Width="100%" CommandItemDisplay="Top">
            <PagerStyle Mode="NextPrevNumericAndAdvanced" />
            <CommandItemSettings ShowExportToExcelButton="true" />
        </MasterTableView>


dominic
Top achievements
Rank 1
 answered on 05 Jan 2012
1 answer
125 views
I have a problem getting this right.

function requestStart(sender, args) {
                currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
                //debugger;
                if (args.get_eventTarget().indexOf("grdTekGrid") >= 0) {
                    currentUpdatedControl = "<%= grdTekGrid.ClientID %>";
                }
 
                if (args.EventTarget.indexOf("ExportToExcelButton") >= 0) {
                    args.EnableAjax = false;
                }
                //show the loading panel over the updated control
                currentLoadingPanel.show(currentUpdatedControl);
            }
 
            function ResponseEnd() {
                //debugger;
                //hide the loading panel and clean up the global variables
                if (currentLoadingPanel != null)
                    currentLoadingPanel.hide(currentUpdatedControl);
                currentUpdatedControl = null;
                currentLoadingPanel = null;
            }

This is the code i've seen in many threads.

The problem here is if i let this stay as it's is, the loading panel just stucks there (the circle does not move, it's "frozen") and after a while pop-ups the prompt open/save excel file. But even after the popup the loading panel doesn't disappear.... 

If i remove this bit:
if (args.EventTarget.indexOf("ExportToExcelButton") >= 0) {
                    args.EnableAjax = false;
                }

The loading panel works great, but instead of being prompt to open/save the file, the contents of the table that is created is loaded/pasted in the grid itself....

Thanks in advance for all the help
Princy
Top achievements
Rank 2
 answered on 05 Jan 2012
5 answers
485 views
Hi I am working with RadTooltipManager control. i am using the position as "BottomRight". it's working fine at the top of the page   onmouseover  event of the some text. But at the bottom of the page it's not showing properly like showing somewhere on the page instead of Bottom of the selected position. Please let me know what's the wrong with this code.
<telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Position="BottomRight" onajaxupdate="OnAjaxUpdate" ShowEvent="OnMouseOver" Visible="false" Skin ="Outlook" ManualClose="true" Height="220px" Width="220px" RelativeTo="Element" ></telerik:RadToolTipManager>

Thanks in Advance,
Chinna..

Princy
Top achievements
Rank 2
 answered on 05 Jan 2012
1 answer
113 views

The grid has grouping and hierarchy. When the grid is loaded initiially, all hierarchy rows are collapsed.  When a grid group is collapsed and then expanded, all hierarchy rows get expanded. I don't see any configuration changes to stop it. Some of the related markup:

<MasterTableView HierarchyLoadMode="Client" HierarchyDefaultExpanded="false"  
GroupLoadMode="Client">
 ExpandCollapseColumn Visible="True">
 </ExpandCollapseColumn>

Shinu
Top achievements
Rank 2
 answered on 05 Jan 2012
2 answers
78 views
The more items you add to a grid the longer it takes to invoke a GridButtonColumn event is there some means to ensure that the button does a postback without posting back the entire grid??
Timothy
Top achievements
Rank 1
 answered on 05 Jan 2012
3 answers
351 views
Running VS2010 (SP1) using the latest Telerix Q3 2011 controls, ASP.NET version 4, AjaxControltoolkit version 4 on a Windows 2008 R2 installation.
I am using a web service:-
   [ScriptService]
   [WebService(Namespace = "http://tempuri.org/")]
   [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
   public class PS_AdminWebInterface : System.Web.Services.WebService
   {
      [WebMethod(EnableSession = true)]
      public string[] GetSessionString(string sessionKey)
      {
         string[] results = new string[2];
         results[0] = sessionKey;
         try
         {
            if (Session["ClientID"].ToString() == "0")            //Logged in users only
            {
               results[1] = "";
               Session["ErrorOccurred"] = true;
            }
            else if (Session[sessionKey] == null)       //Does key exist
            {
               results[1] = "";
               Session["ErrorOccurred"] = true;
            }
            else
               results[1] = Session[sessionKey].ToString();
         }
         catch
         {
            results[1] = "";
         }
         return results;
      }
}

I have debugged the web service call and it is definitely being called and no exception is raised - however the javascript call :-
PlumSoftware.PS_AdminWebInterface.GetSessionString(ps_interface_sessionKey, GetSessionString, OnTimeOut, OnServiceError);

fails in the following function:-
function GetSessionString(result)
{
   if (result[1] != "0")
   {          //Data changed
      ps_interface_keepalive = 0; //Reset keepalive
      __doPostBack(ps_interface_postbackcontrol.value, result[1]);
   }
}

the result returned is always null

I have spent a few hours looking through your forums but have found no clues as to why this would be happening.
Timothy
Top achievements
Rank 1
 answered on 05 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?