Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
139 views
I set ShowLineImages="false". But after expanding tree nodes from client side, the lines are still showing. Is this a bug or did I do something wrong?
Atanas Korchev
Telerik team
 answered on 30 Sep 2008
5 answers
251 views
Hi,

I have a RadGrid with paging enabled.  Ajax is disabled on the RadGrid, and a RadAjaxManager has been configured with the RadGrid as both the source and target for Ajax in the manager GUI.

However whenever I click a page now, the grid collapses as though there is no data, when there should be 20+ pages of data.

What am I doing wrong?  Is this to do with ViewState, or how I have ajaxified my RadGrid?

Regards

SM
Sebastian
Telerik team
 answered on 30 Sep 2008
1 answer
66 views
I'm using a RadWindowManager on a page. (Using version 2008.1.415.20)


I have 3 linkbuttons that when clicked on call the same javascript 

function openRadWindowCompany(url) {
            var oWnd = radopen("ViewCompanyInfo.aspx?BusID=" + url);
            oWnd.center();
        }
       
        function openRadWindowCoupon(url) {
            var oWnd = radopen("ViewCoupons.aspx?BusID=" + url);
            oWnd.center();
        }
       
        function openRadWindowReferral(url) {
            var oWnd = radopen("ViewCompanyReferralBonus.aspx?BusID=" + url);
            oWnd.center();
        }

this is the code in the grid to call the js.

<asp:TemplateField>
                                <ItemTemplate>
                                    <a href="javascript:openRadWindowCompany('<%# originalAttribute="href" originalPath=""javascript:openRadWindowCompany('<%#" Eval("SearchBiz.ID")%>')">View Company information</a><br />

                                    <a href="javascript:openRadWindowCoupon('<%# originalAttribute="href" originalPath=""javascript:openRadWindowCoupon('<%#" Eval("SearchBiz.ID")%>')"> View Company coupons </a><br />

                                    <a href="javascript:openRadWindowReferral('<%# originalAttribute="href" originalPath=""javascript:openRadWindowReferral('<%#" Eval("SearchBiz.ID")%>')"> View Refferal Information</a>

                                </ItemTemplate>

                            </asp:TemplateField>

The problem I'm getting is this: If i load the page on the inital page load evrything works as it should.

As soon as I do a postback (another search and reload the grid) suddenlly I'm getting this error:

Line: 526
Char: 43
Error: Sys.ArgumentTypeException: Object of type 'Telerik.Web.UI.RadWindowManager' cannot be converted to type 'Telerik.Web.UI.RadWindowManager'.
Parameter name: instance.
Code: 0

Does anyone have any idea why?

Georgi Tunev
Telerik team
 answered on 30 Sep 2008
7 answers
141 views
Hi All,

Is there anyway that i could grap the number of weeks from the date picker to a textbox or anything??? Is there anyway(code..etc?) that i could do it??


Thanks
Missing User
 answered on 30 Sep 2008
7 answers
898 views
I really enjoy using your asp.net suites, and I would love it if you were to consider working on a new suite. 
This suite would be based on jquery, and would work on the coming MVC framework and the current regular aspx pages.  It would communicate with the server strictly with page methods and web services via json instead of postbacks or viewstate.  In my experience so far, these alternate methods have tremendous performance gains both in bytes transferred and server time. 
These techniques are however somewhat harder to code currently, but that's where your suite could come in and make it easier to handle with jquery enabled grids, editors, etc.  I feel Telerik plus Jquery could be an awesome combination for asp.net developers.
Ivo
Telerik team
 answered on 30 Sep 2008
6 answers
118 views

Hi,

I am using 'RadControls for ASPNet AJAX Q2 2008'.

I have a RadDateInput control in my form as follows:

<TelerikWeb:RadDateInput ID="tbxTicketDate" runat="server" Width="150"   
ToolTip="Date of Ticket"  Skin="Vista" DateFormat="M/d/yyyy h:mm tt"    
 DisplayDateFormat="M/d/yyyy h:mm tt" MaxDate="2050-01-01"   
MinDate="2007-05-09" TabIndex="70" SelectionOnFocus="SelectAll" /> 

The field converts information in the following manner:
Input “082308 1000p” Becomes: “08/23/2008 10:00 AM”
Input “080908 1245p” Becomes: “08/09/2008 12:45 AM”

It is not considering my a/p designator, always taking as 24 hour format.

I want the following results on my control:
Input “082308 1045a” Convert to “08/23/2008 10:45 AM”
Input “090808 0355p” Convert to “09/08/08 3:55 PM”

I would appreciate any help I can get with this.

-Vishal
Missing User
 answered on 30 Sep 2008
8 answers
300 views
Hi All,

I am using RadControl Q2 2008 and .net 3.5

In page contain the following control
label, button,RadAjaxManager,RadAjaxLoadingPanel,RadScriptManager

Button is ajaxified.

on button click i am calling webservice method. and
if error occured i set the error in Lable

But on Button click it gives the javascript error as '
Error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

When i press continue option of js Error , it goes to exception of codebehind
Where i set the error in lable and insert error in database.

It insert the error in table but not showing the error in lable.
 Thanks
Iana Tsolova
Telerik team
 answered on 30 Sep 2008
1 answer
151 views
This is a general question on a design approach I've been considering. I have an application that implements a wizard in a RadWindow. The wizard consists of about 10 pages, each in a PageView of a RadMultiPage. On the bottom of the page are buttons that say "Next" and "Previous". After filling out information on one page, the user will click "Next" and continue on the next page of the wizard.

So far I've ajaxified this by wrapping the entire page in a RadAjaxPanel. This works fine, however I'm wondering if the payload during page refreshes is inefficient. Would it make sense to programmatically set which controls are updated during page transitions. I was thinking that from page 2, I would programmatically set page 3 to be updated by the Next button, and Page 1 to be updated by the Previous button for example.

I'm also concerned that the large number of controls on the set of pages would make such an effort be monumental and lead to unmaintainable code.

Thanks for your advice.

Steve
Maria Ilieva
Telerik team
 answered on 30 Sep 2008
5 answers
176 views
Hi,

I am trying to export the contents from an Aspx page to PDF.

The page contains multiple RadGrids + some other telerik controls with data

I have to print all of them into one pdf.

Can we do this? pls help
Sebastian
Telerik team
 answered on 30 Sep 2008
1 answer
125 views
I'm trying to figure out how to dynamically add columns based on an enumeration property in my object. 

Parent Object:
public class GridDisplayItem  
    { 
        public string companyName { get; set; } 
        public string duns { get; set; } 
        public bool? SmallBusiness { get; set; } 
        public bool? SmallBusinessCertified { get; set; } 
        public double SearchScoreOverall { get; set; } 
        public double SurveyScoreOverall { get; set; } 
 
        public IEnumerable<Model.GroupResult> SearchScores { get; set; } 
        public IEnumerable<Model.GroupResult> SurveyScores { get; set; } 
    } 

GroupResult Object:
public class GroupResult 
    { 
        public string Name { get; set; } 
        public string Category { get; set; } 
        public double Score { get; set; } 
    } 

I want the scores to show up on the same table rows as the rest of the data, but I can't seem to get it to work.  When I try to use the dot notation like the docs say, I get blank cells.  Any help would be great.


Yavor
Telerik team
 answered on 30 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?