Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
400 views
I am unable to access scripts from button click event.
I am getting error in viewstate of a page.

Note: My script is in RadScriptBlock.

Help me....

Thank U.
Sridhar Reddy Bommireddy
Top achievements
Rank 1
 answered on 30 Jan 2010
1 answer
204 views
I want to use the rad calendar to highlight any day that I have an event on. I dont want any text, I just want the day(s) that have events to be in a  different color or may display a small image.

Similar to this classis ASP I wrote, but obviously I want to use the rad calendar

https://www.lin-mark.us/Index.asp

Thanks for any guidance that can be provided!



Harry Cardillo
Top achievements
Rank 1
 answered on 30 Jan 2010
11 answers
244 views
hi my Dear Friends:
My Problem Is :          
   -_-The  Position Of the Filter's Dropdown Of RadGrid In IE 8 Is Wrong When The Direction =  Right To Left  in Body Tag  -_-
At First see The Picture Below -> capture.jpg   This Is For ie 8
in firefox 3 every thing is ok -> capture_2.jpg

=========================================================================================================

i have this Problem with RadComboBox Too...
so what can i do About That ?
If My Codes can help tell to to put them here....
best regards

Majid Darab
Top achievements
Rank 1
 answered on 30 Jan 2010
2 answers
79 views
Using Q3 2009 sp2

I'm using client-side databinding with "SelectMethod" calling a web service for getting and paging through data.  I return a class with the "Data" and "Count" members.  If I want to return an error message during a web service call, how can I return that message to the client.  I can add a "Message" member to my class I return, but how can I tell RadGrid about the error?  It appears that "OnAjaxRequestError" is no longer valid.  I tried throwing an exception in the web service, but RadGrid is swallowing the error.

Thanks.
Todd Tomlin
Top achievements
Rank 1
 answered on 30 Jan 2010
3 answers
301 views
Hi,

I have a question about the exportToPdf functionnality of the RadGrid. I hope you'll help me :).

I use this code to generate a radgrid to pdf format :

RadGridComparisonLines.ExportSettings.IgnorePaging =

true;

 

RadGridComparisonLines.ExportSettings.Pdf.AllowPrinting =

true;

 

RadGridComparisonLines.ExportSettings.Pdf.PageLeftMargin =

Unit.Pixel(10);

 

RadGridComparisonLines.ExportSettings.Pdf.PageRightMargin =

Unit.Pixel(10);

 

RadGridComparisonLines.ExportSettings.ExportOnlyData =

false;

 

RadGridComparisonLines.MasterTableView.ExportToPdf();


These lines of codes generate a grid in pdf format where all columns have the same width (issue).
But there are some columns which need less width than others.

how can I do to autosize the columns please ?

Thank you.

Assembly Version : 2008.2.723.20
Telerik.Web.UI.dll

Abdelhak LAKNIN
Top achievements
Rank 1
 answered on 30 Jan 2010
5 answers
125 views
Hi Team,

Please confirm if these controls are useable in ASP.NET 2.0 and also we cal export to Excel 2007 Format.
Daniel
Telerik team
 answered on 29 Jan 2010
3 answers
238 views
Hi

When my data set returns no rows the grid view control does not display at all

How can i get the grid to display but with a message saying there are no rows
Daniel
Telerik team
 answered on 29 Jan 2010
2 answers
357 views

I need a function like the ShowAlert button in this demo
http://demos1x.telerik.com/aspnet/Window/Examples/BrowserDialogBoxes/DefaultCS.aspx

However instead of invoking a popup window by a button click, as in the demo, I want to invoke the popup window inside an IF statement in the code behind of a user control.
After the user clicks "Yes" or "Cancel" the value of this user selection needs to be returned to the IF statement in the code behind.

In other words, I need almost the same thing as the demo except the modal popup window needs to be triggered in the code behind instead of by the user clicking on a button.

More specifically, I am using a RadUpload. After the user selects (browses for) a file, I check the filename.  If the name is non-standard I want a modal popup to warn the user and ask if the user wants to proceed.

 protected void buttonUpload_Click(object sender, EventArgs e)
        {
           
           FileNameType fileType = (FileNameType)Enum.Parse(typeof(FileNameType), RadComboBoxUploadType.SelectedValue);

            foreach (UploadedFile file in RadUploadSCS.UploadedFiles)
            {
           
                string mg = msgFileOK(file.FileName, RadComboBoxUploadType.SelectedItem.Text);

                if (mg.Length > 0)
...Here I want to popup the window and get a yes/cancel response back from the user

SKS
Top achievements
Rank 1
 answered on 29 Jan 2010
4 answers
244 views
I'm using a RadAjaxManager control on a page and have wired it up to several Buttons. An example button is:

<asp:Button ID="btnSubmitChanges" runat="server" Text="Submit Changes, New Term and/or Comments" OnClick="SubmitChanges" OnClientClick="return blockConfirm('<p><strong><u>WARNING!</u></strong></p><p>More text</p>', event, 650, 200,'','Submit Changes');" Width="300px" /> 

I'm using the blockConfirm function with the button. I noticed (too late) that there's a line of code in there that seems to get rid of my OnClick argument (callerObj["onclick"] = "").

The question is how to make the RadConfirm work in this instance. Do I have to break the SubmitChanges code out into a Button click handler?


Also, is it possible to remove the question mark icon?
SKS
Top achievements
Rank 1
 answered on 29 Jan 2010
2 answers
157 views
Hi I am using RadGrid on a web page and I am firing a java script function on mouse over event on a row in the RadGrid.As of now the java script function is fired as soon as the mouse is pointed over a row.I would like the java script function to be fired after a delay of 3-4 secs after the mouse is pointed over the row in the radgrid.Please suggest some code for doing this

Regards,
Naresh
Ismail Ahmed Syed
Top achievements
Rank 2
 answered on 29 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?