Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views
I am using the RadScheduler with advanced edit and insert forms.  I used the SchedulerDefaultForm from the demo site as my starting point and have changed quite a bit of it to get it to do what I want.  I have it wired up to use the javascript file that allows me to use recurrence and I've added some more fields.  I have the inserting, deleting, and editing (of both single occurrence and series) working just fine.

Everything is working fine except for the validation.  I have tried to strip out the validation that comes with the SchedulerDefaultForm (where the validation message is displayed as a tooltip) so that it matches the validation I'm using in the rest of my site.  I edited the javascript file to get rid of the tooltip functionality (commmented out the _initializeAdvancedFormValidators function) and I have most of it working.  For instance, when I don't fill in the Subject field and I exit the textbox or click "Save", the validator shows up like I want it to.  The problem has to do with the validators on the start and end date and time fields.  When I clear a date or time field and move out of the box, the validator shows up like I want it to.  However, when I click the "Save" button the validator disappears.  So if I try to save an appointment without a subject and start date, the subject validator displays but the start date validator does not, even though I'm using requiredFieldValidators for both.  In both cases, when I clear the field and move out of the textbox, the validator appears like it should.  It's only when I click "Save" that the problem occurs.

I know the validator is firing because when I fill out all required fields except the start date, I am still unable to submit the form.  However, no message appears indicating why I cannot submit the form.  

Another issue I am having is that I cannot get a validation summary to display anywhere on the page.  The setup I have is that I have a InsertEvent.ascx control and a DefaultSchedulerForm.ascx control inside of the InsertEvent.ascx control.  The save button is on the InsertEvent.ascx control and I would like my validation summary to be on the InsertEvent.ascx control.  However, even though validation is firing and the individual validators are displaying next to the fields, the validaiton summary does not display.  I have tried moving it to the DefaultSchedulerForm.ascx control and it still doesn't display.  I have checked my validation groups on everything and it all looks okay.  Any ideas?
laura
Top achievements
Rank 1
 answered on 25 Jun 2009
1 answer
105 views
Hello,

Is it possible for RadGrid and its DetailTables to share a single instance of EntityDataSource?

So, if i have two tables Orders and OrderItems where OrderItems would have FK OrderID to Orders table.  Now with EntityDataSource property setup to "include" OrderItems, I should be able to define a DetailTable with DataMember = '<%# Eval("OrderItems) %>', and yes, sharing the same data source as MasterTableView.  I know this is possible in a ListView but I couldn't get it to work with RadGrid.

Thanks!
Nikolay Rusev
Telerik team
 answered on 25 Jun 2009
2 answers
63 views
We are working with RadEditor in a RadWindow.  I have been able to duplicate this behavior in you live demo (RadEditor in a RadWindow) (that was installed with Q1 2009 assemblies)

When you open the window, switch to HTML view and remove all content. 
Switch back to Design view. 
Type a line of text ("test" is sufficient), the highlight the line, and try to apply the H1 (or any other ones besides 'normal').

The dropdown becomes "Paragraph" and all your text disappears in design mode.  The text loses all formatting (if the save even works at this point).  If you switch between.  A javascript error is generated if you switch again between HTML and design modes.

We could not reproduce this behavior on the web site live demo so either you have already addressed this issue?

Thanks!
Shawn
Top achievements
Rank 1
 answered on 25 Jun 2009
2 answers
332 views
Hi,

Does any one of you have answer for providing user need indentation for the Detail table in a RAD Grid control? By default, it is coming with some depth of indentation, but I need more room for the detail table to differentiate it from the master table.

The RAD Grid version is 4.6 

Hope someone have answer for this.

Thanks in Advance
Viswa

Viswanathan
Top achievements
Rank 1
 answered on 25 Jun 2009
2 answers
280 views

We purchased the Telerik ASP.Net AJAX control set last week, and one of the main reasons for this purchase was the virtual scrolling grid.

This grid example is flawed in three major ways:

1)      The virtual item count is hard-coded

2)      The selected rows are being determined by the row ID of the selected table

3)      The scrolling does not function properly.

The example being used is based on a very unrealistic query from a single table where the row selections are being determined by the row id's of the table. In almost any real-world example, a query would be derived from a query involving more than a single table, which would preclude the use of a table row id as a row selection device. I have figured out how to get around this limitation using SQL Server 2005, which has a built in function called ROW_NUMBER() that allows me to add row numbers from the returned recordset, and select a subset of the returned records by row number.  Another problem with this example is the fact that you have used a hard-coded value for the virtual Item Count. Once again, in a real-world scenario, no query would produce the same number of results every time, and in order for the virtual scrolling to work properly, this is a necessity. I got around this problem by performing a second query without limiting the returned rows to just get the count.

But the problem I can’t get around is that the scrolling in this example does not work properly in IE or Firefox. Just navigate to the example, and click a single time on the down arrow at the base of the scroll bar. Wait for 3-5 seconds, and click the arrow again. Do this 4-6 times and you will see the problem.

1st Click – grid moves down one row (no problem)

2nd Click - grid moves down one row (no problem)

3rd Click – grid moves down one row, then goes to page two, and the grid posts back to the server and returns a single record from page 2.

4th Click – grid posts back, the scroll tool tip indicates that the grid is moving to page4, then changes to indicate page 5, but the paging navigation at the bottom is indicates that we are on page 4

5th Click – grid posts back, the scroll tool tip indicates that the grid is moving to page 6, then changes to indicate page 8, but the paging navigation at the bottom indicates that we are on page 6

6th Click – grid posts back, the scroll tool tip indicates that the grid is moving to page 9, then changes to indicate page 13, but the paging navigation at the bottom indicates that we are on page 9

Every subsequent click of the down arrow causes the grid to post back to the server.

Veli
Telerik team
 answered on 25 Jun 2009
3 answers
147 views
I have been able to change all colors on an implementation of radscheduler except one.  I can't change the secondary hover color that shows up on day and week view underneath the main hover color.  Any tips?

http://www.greencroft.org/news/events/
Peter
Telerik team
 answered on 25 Jun 2009
2 answers
226 views
I have an app that I need to limit the amount of characters that can be entered by a customer but I giving them the editor to enter them in WYSIWYG form.  I need to be able to give them a counter of the html characters not the typed characters realtime while typing.  Can I do that with this module?
Jeremy Coenen
Top achievements
Rank 1
 answered on 25 Jun 2009
1 answer
115 views
Hello  Sir

  I want to copy all formated content into word. How to do this ?

for example

Helllo How are you

What are doing
  1. how are you
  2. Need to copy as it cotent in word

how acheive this Help me URGENT

As it Same copy in Word

hep me urgent !!!!!!!!! This is possible or not ? any property or any fucntion to copy content ?





Rumen
Telerik team
 answered on 25 Jun 2009
3 answers
111 views
Hi everybody,
Looking at the docs and at the online examples I find a way to change backcolor for an appointment responding to certain conditions.
I'm trying to change the backimage in order to obtain a better look.
I'm using Outlook 2007 skin.
Could you please give me some help?
Thanks in advance

Andrea
Peter
Telerik team
 answered on 25 Jun 2009
0 answers
283 views
RadCompression is a HttpModule that ships with the RadControls for ASP.NET AJAX that is designed to automatically compress your AJAX and Web Service responses. In other words, RadCompression will intercept the bits that your server is sending back to a browser (or Silverlight-client, for that matter) and compress them. Once the compressed bits reach the browser, standard browser technology takes-over and decompresses the response, so your application can work with it normally.

The compression process is completely transparent to your client-side code (JavaScript or Silverlight) and your server-side code. It simply reduces the number of bits that must be sent over the wire (from your server to your client) and thus- in theory- improves your page performance by reducing the TTLB (time to last byte).

To get familiar with the control please follow these online resources:

Note: RadCompression is obsolete in favor of the dynamic content compression modules IIS7 and later offer.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 25 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?