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

My code like this

  <telerik:RadAjaxLoadingPanel ID="Rad1" runat="server"  />
       <telerik:RadAjaxPanel ID="Rad2" runat="server"  LoadingPanelID="Rad1">
<asp:FileUpload ID="Fup1" runat="server" />
</telerik:RadAjaxPanel>  

But I canot retrieved the posted file how will do this? can u solve this
Boyan Dimitrov
Telerik team
 answered on 21 Oct 2014
6 answers
404 views
In http://www.obout.com/editor_new/xhtmlcompare.aspx, obout claims:

obout Editor generates identical XHTML compliant output in all browsers.

Telerik is shown providing different output for different browsers.

Does this matter, and if so, should I be using obout's editor rather than teleriks?

Thank you,
Brother Bill
George
Top achievements
Rank 2
 answered on 20 Oct 2014
4 answers
550 views
I want to add/remove a class from the RadDatePicker when validation occurs, so I can change the border and font to red when it is invalid, and remove those styles when the user fixes the input. I've seen many posts in various forums asking this question or similar questions, but none of the suggestions work with the RadDatePicker.

What I want is a simple and common scenario:
- User selects a date
- Validation fires
- If invalid, change the color or other CSS properties of the control
- Change it back to the default when the user fixes the input

**Edit: I tried to attach a stripped-down version of my project that shows what I have so far, but the extension (ZIP) was not allowed. Please give me an email address to send it to if you'd like to see the sample code.** In the sample project, the problem can be demonstrated by selecting an end date less than the start date, which should trigger the validation. It works correctly in Chrome the first time - border turns red - but only when validation fails after editing the End Date. If validation fails because of changes to the Start Date, the ASP.NET validator picks that up but not the custom code. It's not a complete solution, but it's as far as I got because when I tested in IE I found that the change event doesn't fire at all.

What I really need, and I think many developers would agree, is a simple property on all the Rad controls such as "ErrorStyle" that sets the class used when a control fails validation. Please register that as a feature request.

In the meantime, I could use some help getting this to work with the current version of the date picker. One thing that might help is some information on the client-side events which fire during validation, and which HTML elements they fire from. The date picker has quite a complex hierarchy of elements in it, and I've been having trouble discovering how to hook into the right events. It would be nice if the datepicker had some kind of "onvalidated" event I could use. Failing that, is there a way to handle all validate events on the page, determine which control is a datepicker, and act accordingly?






Edgar
Top achievements
Rank 1
 answered on 20 Oct 2014
1 answer
480 views

want to populate data in dataset from radgrid  , i have  tried following eas bit not working. please provide solution ASAP
Source, DataTable)  -Getting datatable null

2)not getting data from ITemTemplates

le();
        foreach (GridColumn col in grdShippedOrders.Columns)
        {
            DataColumn colString = new DataColumn(col.UniqueName);
            dtRecords.Columns.Add(colString);
 
        }
        foreach (GridDataItem row in grdShippedOrders.Items) // loops through each rows in RadGrid
        {
            DataRow dr = dtRecords.NewRow();
            foreach (GridColumn col in grdShippedOrders.Columns) //loops through each column in RadGrid
                   dr[col.UniqueName] = row[col.UniqueName].Text;
            dtRecords.Rows.Add(dr);
        }
      return dtRecords;

Jayesh Goyani
Top achievements
Rank 2
 answered on 20 Oct 2014
1 answer
59 views
  when forloop applied to Radgrid  not getting  all rows as paging applied , please provide solution

foreach (GridColumn col in grdShippedOrders.Columns)
Jayesh Goyani
Top achievements
Rank 2
 answered on 20 Oct 2014
1 answer
101 views
I tried to run the ComboBox ClientSide sample from the AJAX pdf documentation files. 

Error 1 Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified. C:\Program Files (x86)\Telerik\AJAXDocumentation\Projects\ComboBox\CS\ClientSide\ClientSide\Default.aspx 3
Error 2 Unknown server tag 'telerik:RadComboBox'. C:\Program Files (x86)\Telerik\AJAXDocumentation\Projects\ComboBox\CS\ClientSide\ClientSide\Default.aspx 42
Error 3 Unknown server tag 'telerik:RadTextBox'. C:\Program Files (x86)\Telerik\AJAXDocumentation\Projects\ComboBox\CS\ClientSide\ClientSide\Default.aspx 46

Clearing error 2 and 3 result from the failure of Error 1.

My guess is that I am missing some kind of setup value to point to Telerik in Program Files.  I have VS 2013 and VS 2010, I did pick 2013 for the Telerik install.

I just installed  the lasted Telerik (Q2 2014) using Visual Studio 2013 on Windows 8 64.

Telerik is all error codes so far, yet to see anything working locally.

Thanks,
George


 
Ventsi
Telerik team
 answered on 20 Oct 2014
3 answers
131 views
Do you have sample code to do the skin change and display the color sample like in this screen shot?
Galin
Telerik team
 answered on 20 Oct 2014
1 answer
65 views
I'm using the a password strengthen. 
Is there's a way on how to get the TextStrengthDescription of the strengthen of the password ??
Maria Ilieva
Telerik team
 answered on 20 Oct 2014
1 answer
83 views

Excuse me if this post somewhat overlaps others I've made recently but I've been reviewing your docs and demos concerning RadAsyncUpload and I am getting more confused by the second.

What I need is the following scenario.
   1.  A single file is selected with the RadAsyncUpload control.  (Usual display of file name with remove option)
   2.  The page goes through several postbacks involving failed validation of other controls while the RadAsyncUpload control retains its display of file name and the option to remove.  (It appears that currently this process wipes the display of the RadAsyncUpload control.  This was not a problem as long as all validation was client-side.  Is there anyway to retain or restore the visible settings of the RadAsyncUpload control, or do I have to write my own code to keep track of the uploaded file?)
   3.  Once the final postback process occurs the uploaded file is streamed into a database field using an Uploaded File object.  (UploadedFile file = RadUpload1.UploadedFiles[0]; file.InputStream.Read etc...)                    

I recently replaced the old RadUpload controls with RadAsyncUpload controls so I recognize that I may have plugged them into a scenario that no longer works.
  (Furthermore I'd like to say that the behavior of the RadAsyncUpload control with regard to the TargetFolder confuses me as well.  What happens if two people upload files with identical names at the same time?)

Boris
Top achievements
Rank 1
 answered on 20 Oct 2014
4 answers
190 views
I've only recently replaced the RadUpload controls in my web app with RadAsyncUploads.  By and large they're working OK.

In the postback event I grab a reference to the uploaded file ( UploadedFile file = RadUpload1.UploadedFiles[0]; ) and process it.

There's one small problem.  The page the upload control is on also has several custom validators that do server-side validation.  If one of these validators fires the file reference in the RadAsyncUpload control is wiped and it is necessary to select the file again. 

Am I forgetting something basic?  
Boris
Top achievements
Rank 1
 answered on 20 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?