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

I am using Rad calender . I have to view it as a calendar with multiple months. I set RangeMinDate and RangeMaxDate in my codebehind. It starts with currunt month but i could not even navigate to the previous month. And one more thing is is there any settings avilable to set the view of the calendar that I could only able to see the calendar control ranging from RangeMinDate to RangeMaxDate.I dont want to view other months.
Thanks,
Jeevitha
Pavlina
Telerik team
 answered on 27 Nov 2009
3 answers
271 views
Hi All,

There was a means at some time to align all the rows, as it seems to default to some indent per alternating row.
Is there a solution to this.
I would like all my rows and thier columns to be aligned.

thx
Neal
Dimo
Telerik team
 answered on 27 Nov 2009
5 answers
139 views
Hello,

I'd like to be able to hide some of the panels or elements within my Advanced Form based on the users access levels. I've found an old post with something similar at the very bottom here however the control is now a couple of releases older since then. In following the example I still get errors from the AdvancedForm.js with missing StartDate and EndDate controls.

Are there any examples that I've missed or can you provide me with an example of how I could achieve this?

Cheers,
Damien
Peter
Telerik team
 answered on 27 Nov 2009
2 answers
84 views
hi
i am trying to implement custom advanced form for rad scheduler with mssql but haven't got any luck...
i had explored several different examples here on the forum, but all of them are using XML file to store scheduler data. However, in my case, i would like to design a custom advanced form which writes-in/reads-out data from mssql.

can anybody help me with this issue?

thanks in advance
Waqas Aslam
Top achievements
Rank 2
 answered on 27 Nov 2009
3 answers
104 views
Here's a weird phenomenon.
Everything was working fine with our RadTabStrip until upgrading to the latest Telerik version.
We have a tab strip where new pageViews are being created dynamically.
In one pageView we have a few RadDateInputs among other input fields.
Upon completion, you click a submit button that takes you to the next tab (a page with RadGrid where you can manage attachments - edit, delete and add files).
If you wishes to go back and correct your input you may click the earlier tab and edit your input.
This was running with no problem before the upgrade.
Now, the first submission goes without a hitch. However, if one goes back and re-submit, we get this error:

Text property cannot be set. String was not recognized as a valid DateTime.   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.InvalidCastException: Text property cannot be set. String was not recognized as a valid DateTime.  
 
Source Error:   
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.    
 
Stack Trace:   
 
 
[InvalidCastException: Text property cannot be set. String was not recognized as a valid DateTime.]  
   Telerik.Web.UI.RadDateInput.RangeTextProperty(String value) +192  
   Telerik.Web.UI.RadDateInput.set_Text(String value) +22  
   Telerik.Web.UI.RadInputControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +103  
   Telerik.Web.UI.RadDateInput.LoadPostData(String postDataKey, NameValueCollection postCollection) +26  
   Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +13  
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +346  
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743  
 
   
 
 
--------------------------------------------------------------------------------  
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082  

Anyone has encountered such problems after upgrade.
We've been going wild over this problem for two whole days now, trying to figure out where the problem is...
If there's a problem with the date format, how does it go through the first time?

Many thanks for any clue.
Chanan Zass
Top achievements
Rank 1
 answered on 27 Nov 2009
5 answers
128 views
Hi

In the FormTemplate of my RadGrid there's an ajax postback taking place. It just gets some data and fills it into a RadEditor - which works fine.
Further I added another control - a button - beneath the RadEditor, with no functionality so far. The weird thing is: After such an ajax request is done and I click this button, an IndexOutOfBounds exception occurs. Unfortunately the error is not popping up in my (self-written) code, but in an earlier stage.

I searched the forums, still, before flooding you with code and stuff I'd like to know if this is a common issue and if there's already a solution?

Fyi, I will not be able to answer before next wednesday 'cause I'm away :)

Thanks in advance for some help!
Best
Roman
Rosen
Telerik team
 answered on 27 Nov 2009
1 answer
58 views
Hi,

I am dragging an item from radgrid and dropping them in treeview.
I am using it with plain server side code i.e. when row is dropped on node of treeview postback happens.
Now when i drag the row entire row is moved, but i want while moving only Title of grid item should appear as moving.

Please let me know any settings which i am missing.
I have already crosschecked this forum:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/treeview-and-radgrid-drag-and-drop.aspx

But this does not seems to be working in case of postback.


Regards,
Amit Tuteja
Rosen
Telerik team
 answered on 27 Nov 2009
6 answers
370 views
Hello everyone,

I have a splitbutton with an radtoolbarbutton that is a template. The template works fine and displays perfectly, however when I do a postback on the page, the template disappears and i see nothing. Has anyone experienced this before. The RadToolBar is below:

 <telerik:RadToolBar ID="RadToolBarGridMenu" runat="server" Width="100%"  
            onbuttonclick="RadToolBarGridMenu_ButtonClick" Skin="Black" > 
            <Items> 
                <telerik:RadToolBarButton Text="Bulk Edit Selected" Value="Edit"></telerik:RadToolBarButton> 
                <telerik:RadToolBarButton Text="Update Data" Visible="false" Value="Update"></telerik:RadToolBarButton> 
                <telerik:RadToolBarButton Text="Cancel Bulk Edit" Visible="false" Value="Cancel"></telerik:RadToolBarButton> 
                <telerik:RadToolBarButton IsSeparator="true" />           
                <telerik:RadToolBarButton Text="Disable Paging" Value="Paging"></telerik:RadToolBarButton>       
                <telerik:RadToolBarButton Text="Expand All" Value="Expand" Visible="false" /> 
                <telerik:RadToolBarButton Text="Collapse All" Value="Collapse" Visible="false" />      
                <telerik:RadToolBarButton IsSeparator="true" /> 
                <telerik:RadToolBarDropDown Text="Export"> 
                    <Buttons> 
                        <telerik:RadToolBarButton Text="Export To PDF" CommandName="PDF" /> 
                        <telerik:RadToolBarButton Text="Export To Word" CommandName="Word" /> 
                        <telerik:RadToolBarButton Text="Export To Excel" CommandName="Excel" /> 
                    </Buttons> 
                </telerik:RadToolBarDropDown>     
                <telerik:RadToolBarButton IsSeparator="true" /> 
                <telerik:RadToolBarSplitButton Value="View" > 
                    <Buttons> 
                        <telerik:RadToolBarButton Text="All Projects">                            
                        </telerik:RadToolBarButton> 
                        <telerik:RadToolBarButton IsSeparator="true" Value="Separator" /> 
                        <telerik:RadToolBarButton CssClass="logo" Value="SaveTemplate"> 
                            <ItemTemplate>            
                                <div onclick="StopPropagation(event)">                  
                                     <table id="NewView" width="250px" style="margin-left:28px"> 
                                        <tr><td>View Name:</td><td><asp:TextBox ID="TextBoxViewName" runat="server" Width="150px" MaxLength="200" /></td></tr> 
                                        <tr><td>Is Default View:</td><td><asp:CheckBox ID="CheckBoxViewDefault" runat="server" /></td></tr> 
                                        <tr><td colspan="2" align="center"><asp:Button ID="ButtonCreateView" runat="server" Text="Save Template As View" OnClick="SaveTemplateAsView" /></td></tr> 
                                     </table>   
                                </div>                                                  
                            </ItemTemplate> 
                        </telerik:RadToolBarButton> 
                    </Buttons> 
                </telerik:RadToolBarSplitButton> 
            </Items> 
        </telerik:RadToolBar> 

Thank you.
Yana
Telerik team
 answered on 27 Nov 2009
2 answers
215 views
Hi

I would like my combobox to display 10 items from a list of 100 items.
After 'onItemsRequested' I want it to only display rows 11 - 20.  But I am having trouble getting it to do this, it keeps displaying the first ten + the subsequent ten.
I have tried using
    uiCmboTier.Items.Clear();

but It still shows the previous data rows.

Any help would be more than appreciated.
I assume it should be able to do this ?  All the demos show the list growing and growing after each 'OnItemsRequested' even though they also use comboBox.Items.Clear();  ???

Thank you
Jonathan
Jonathan Annandale
Top achievements
Rank 1
 answered on 27 Nov 2009
0 answers
69 views

I'll grant you, wanting to upload a zero-length file is, well, an odd thing to want to do, but, it seems, in FF3.5 you can't.

I select the file OK, but when I click the button that causes a PostBack, and hence starts the Upload does nothing.

I have both client- and server-size validation on the form I use for this and I can see that the client-side validation functions fire but NO server-side code runs; not OnLoad or the server-side validation.

The same code run in IE8 /does/ upload the file.

As I say, wanting to upload a zero-length file seems like a waste of bandwidth to me, but it should work consistently, don't you think?

BTW, this code is running under Q1 2009.

-- 

Stuart

Stuart Hemming
Top achievements
Rank 2
 asked on 27 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?