Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
422 views
Hi..

I have ascx file with RadDatePiker inside it, this ascx is used in tooltip (all is based on example from online demos). When tooltip is show date picker is rendered correct but when I click on it nothing happens.

Regards
Tsvetie
Telerik team
 answered on 02 Oct 2009
1 answer
100 views
froms = new string[] { "Craig""Lowell""Richard" }; 
rcbFromFilter.DataSource = froms; 
rcbFromFilter.DataBind(); 
rcbFromFilter.Items.Add(new RadComboBoxItem("All""-1")); 

Using the above code the "All" option is added to the bottom of the list. I need it at the top. I realize I could put it into the array but I will be binding to a database table so that isn't an option.

Thanks.
Helen
Telerik team
 answered on 02 Oct 2009
1 answer
136 views
I need to validate a GridDateTimeColumn to check for future dates.  I need to validate another GridDateTimecolumn to validate dates that fall within a certain BeginDate and EndDate.  What is the best way to accomlish this.  I have been searching all over. Here is how my grid is set up:

<

 

telerik:GridDateTimeColumn

 

 

DataField="LastVisitDate"

 

 

PickerType="DatePicker"

 

 

HeaderText="Date of Last Visit"

 

 

UniqueName="LastVisitDate"

 

 

DataType="System.DateTime"

 

 

DataFormatString="{0:MM/dd/yyyy}">

 

 

</telerik:GridDateTimeColumn>

We are using RadControls For ASPNET AJAX Q2 2008.
I would like to be able to do this on the client, however, will accept best method.

Thanks you,
Chris

 

Pavlina
Telerik team
 answered on 02 Oct 2009
2 answers
213 views

On a majority of my forms I Pre-Bind RadGrids on the Server, but after the form is loaded I use WebServices (asmx) and Client side binding to update the RadGrid using Client Side Binding.

My problem is Pagination does not working (or isn't visible) after a client side bind if the Radgrid was already bound to a list on the Server with a datasource <= to the radgrids pagesize. 

For Example 
My grid has a pagesize of 10. 
It was bound to Six records on the Pageload.
Then after the page has loaded the User proceeds to change the Search Criteria and invoke the WebService which returns 10 records with a Total Virtual count of 140. The 10 Records show up fine, column sorting works but no Pagingation is Visible.

If what is bound on the Server is greater then the Radgrids PageSize pagination works for future Client side binds.

Here is what my client side bind looks like:

var tableView = $find('<%= grdWorkItems.ClientID %>').get_masterTableView();                           
        tableView.set_virtualItemCount(result.TotalRecordCount);  
        tableView.set_dataSource(result.Records);                
        tableView.dataBind();                     
        tableView.clearSelectedItems();           

Have you guys seen this before am I missing something.

Thanks,
Marc

Tsvetoslav
Telerik team
 answered on 02 Oct 2009
1 answer
469 views
Hi,

In my web application, i need to give an option to user to save the Image in his client side by selecting the drives/path and give the file name and save it  at the client side.

Currently i am able to save it in the default path on the client side but i need to have the Dialog box open and prompt the user to choose the path and file name.

How to do this ?  Can you explain ?


i tried with the following code.

            System.IO.MemoryStream ms = new System.IO.MemoryStream();

            this.chartBar.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
            this.Page.Response.Clear();
            this.Page.Response.ClearHeaders();
            this.Page.Response.AddHeader("Content-disposition", "attachment; filename=BarChart.png");

            this.Page.Response.AddHeader("Content-type", "image/png");
            this.Page.Response.BinaryWrite(ms.ToArray());

            this.Page.Response.End();

In this code, i hardcoded the filename.Client Browser will give him a message for save/open etc... and if clicks on Save, it will save it to default Download location that already set by the user.



Thanks for your valuable points






Ves
Telerik team
 answered on 02 Oct 2009
3 answers
91 views
We have a very strange problem with RadGrid on IE8. 

We have a RadGrid with check marks on one of the columns and if I select a few items at the top of the grid and scroll down, when I try to select another item the whole grid disappears from the page. This only happen when we are using IE8.

Is this a known issue or we are the only ones that have this problem?
Dimo
Telerik team
 answered on 02 Oct 2009
3 answers
259 views
I have a situation where I need to have a numeric textbox hide/show a division on the page based on whether or not it is empty.  I can't do it onblur / onvaluechanged since it needs to be real-time while they are typing.

I can't use onkeypress either since it is too early and I can't use isEmpty() to validate that the textbox is empty or not.

What client event is available for this?

Thanks.
Dimo
Telerik team
 answered on 02 Oct 2009
1 answer
102 views
Hi,

 i am getting dataset  and bind to the barchart.the datset contains  name field and number field.the chart takes the step value as 1 by default.

Based on the dataset, maxvalues the graph should calculate the step value and generate the grpah dynamically.  Currently it is incrementing by 1 and the Grpah image is not clear.   

We can set the step value dynamically by taking the maximum value and dividing by a constant value say 10 to show the step values.  Will this not happen automatically in the telerik graph control?

Help me how to use the graph controls and
avoid this coding
Velin
Telerik team
 answered on 02 Oct 2009
2 answers
74 views
Where can I find recordings of previous Webinars?

I imagine it's a little early to be looking for it just now, but I'm keen to get a copy of the Ajax optimisation one from yesterday.

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 02 Oct 2009
1 answer
64 views
Hi,
 We are using 2008 Telerik controls and started testing the Telerik 2009 version yesterday. We are finding sluggishness in the pages after updating to the 2009 version. I will post the exact delays in the timings soon but has anybody had similar experiences using the latest control release?

Thanks and Regards
-Advait
Paul
Telerik team
 answered on 02 Oct 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?