Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
183 views
Has anyone created a DotNetNuke module with the Scheduler?
Peter
Telerik team
 answered on 21 Nov 2008
1 answer
77 views
Hi there

Whenever I modify the query with my RadGrid, I might get into a situation where the current page the user is viewing is no longer there (ie. page 15 out of 10).

I currently perform a check in the RadGrid's PreRender event, to see it the actual PageIndex+1 is higher that the PageCount, in which case I set the new PageIndex to 0 (or PageCount-1 depending on what I am trying to achieve). This however seems a bit like a hack, and I would appreciate some other, more elegant solution.

The first thing that popped into my mind was a PageCountChanged event perhaps? We already have PageIndexChanged and PageSizeChanged, but not PageCountChanged.

Any ideas/solutions?

EDIT: Whoops... I just found out that my own "solution" didn't even work as I expected. A correct solution would now be _very_ much appreciated! :)
Sebastian
Telerik team
 answered on 21 Nov 2008
7 answers
173 views
Hi,

I worked on telerik last trial version before buying it, to see if it matched my needs, but now that I want to use the purchased version, I got errors on one of my treeview.

I keep getting :
_145 has no properties
Function.__typeName="Function";Function....erClass("Sys.UI.Control",Sys.Component);

I have no more action possible on my treeview, and I can't see why. Since it worked great before with the trial version, I suppose changes were made between the two version. Has anyone got this problem to?

thanx for your support

Veselin Vasilev
Telerik team
 answered on 21 Nov 2008
1 answer
62 views
Hey everyone,
    I just downloaded a free trial of telerik and I'm trying to figure it out to see if it has what I want.   I want to create a page, call it default.aspx, and have it similar to to Outlook 2007.  The reason I reference Office 2007 is because of the sidebar and then content section that updates depending on the sidebar item selected.   I want the sidebar to have items for editing a website.  And then the content section as an area that will dynamically update depending on the item selected.  Look below for an example.

Example:
     Edite Pages
           -  Home
           -  About Us
           - Contact Us
           - Etc.
     Edit CSS
     Edit Database
     Users
     Newsletter
     Site Info
          
- General Tags
           - Footer
           - Etc

Then I want to have an "pane" to update with specific pages when items are clicked.  Can this be done?  How difficult for a newbie to this?  I just saw this UI's in a MSDN magazine and figured what the heck.

Here is a link to an image of what I want to do.... Here

Paul
Telerik team
 answered on 21 Nov 2008
4 answers
132 views
Hi,
where can I find the images for the datepicker gray skin?
For example: datepickerpopup.gif.

/Mattias

Mattias
Top achievements
Rank 1
 answered on 21 Nov 2008
1 answer
1.3K+ views
Hi Telerik,

  i have upgraded my rad grid from Q3 2007 to Q3 2008.
after this when i am trying to rebind my grid from client side , it is showing error.
i am opening a radwindow and i want to refresh my grid in parant window while closing this child window.

below the code which i used in Q3 2007

 

function refreshGrid(arg)

 

{

 

     if(!arg)

 

    {

     window[

"<%= RadRfqLineItem.ClientID %>"].AjaxRequest('<%= RadRfqLineItem.UniqueID %>', 'Rebind');

 

    }

 

   else

 

   {

    window[

"<%= RadRfqLineItem.ClientID %>"].AjaxRequest('<%= RadRfqLineItem.UniqueID %>', 'RebindAndNavigate');

 

   }

 

 

}

can anybody help in this code.

Vlad
Telerik team
 answered on 21 Nov 2008
1 answer
116 views
I have a RadMenu in my master page.  The RadMenu used skin "Outlook".  Everything is fine until I added a RadStyleSheetManager in the master page. The RadMenu is rendered as a bullet list when it is run under IIS.  Strangely, it is rendered correctly if I run the site inside Visual Studio.  If I commented out the RadStyleSheetManager, then everything is OK again.

What can be wrong in this case?

Edwin
Paul
Telerik team
 answered on 21 Nov 2008
1 answer
108 views
I'm using the FormTemplate example of the PopUp editform demo here, and I have to internationalize the text.

It's all ok, except for the declaration of the Update/Insert button which is:

<asp:Button ID="EditFormUpdateButton" runat="server" 
    Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>' 
    CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'   
    meta:resourcekey="EditFormUpdateButtonResource1">  
</asp:Button> 

The problem is: how to localize the "Insert" and "Update" text? I was thinking of using an explicit expression like so:

<%$ Resources:LabelResource1.Text %> 

But I don't see how to combine that with the "IIf (TypeOf ..." part.

Can anyone help plz?

Thanks, Steve
Steve Newbery
Top achievements
Rank 1
 answered on 21 Nov 2008
5 answers
310 views
I am selecting a particular item programatically after i rebind. Now i want to set the CurrentPageIndex of the item I have just programatically selected. Is there any way i can do this?

Something like this:

RadGrid1.Rebind();

foreach (GridItem item in RadGrid1.Items)

{

if (item.OwnerTableView.DataKeyValues[item.ItemIndex]["ID"].ToString() == ID)

{

item.Selected =

true;

// Now i need something like :  RadGrid1.CurrentPageIndex = item.PageIndex;

break;

}

}



Thanks
Sebastian
Telerik team
 answered on 21 Nov 2008
8 answers
356 views
I want to disable Sundays and make them look disabled.

I'm adding a RadCalendarDay to my SpecialDays collection.  I'm setting it's ItemStyle.CssClass to "otherMonth_Web20".

When the page is first loaded, the style is not applied, but if you view a different month (by clicking the navigation next arrow), the style is applied.  It is also applied to the current month when you come back.

When the page is first loaded the CssClass is "radCalWeekendDefault_Web20 radCalDisable_Web20".  When you switch months and come back the CssClass is "otherMonth_Web20 radCalDisable_Web20".

Here is the declaration:
<rad:DatePickingCalendar ID="cal" runat="server" Skin="Web20"
 UseColumnHeadersAsSelectors="True" UseRowHeadersAsSelectors="True"
 ShowRowHeaders="False" >
    <specialdays>
        <rad:RadCalendarDay Date="2008-05-25" IsDisabled="True" IsSelectable="False"
   Repeatable="Week">
            <ItemStyle CssClass="otherMonth_Web20" />
    </rad:RadCalendarDay>
 </specialdays>
</rad:DatePickingCalendar>

Am I doing something wrong.  Is there a workaround?
plamen
Top achievements
Rank 1
 answered on 21 Nov 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?