Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
92 views
Hi All

I have created a grid

I have fetched the values from a table.

I have kept Three buttons (Export To Excel) (Export To Word) and (Export To Pdf)



While clicking the (Export To Excel) and(Export To Word) button I get a popup "File Download" "Do you want to save it or open with?"

But while clicking (Export To Pdf) Button this pop up does not appear. I want it to appear.

Here is my Coding for the three buttons


//This is for the (Export To Excel)
protected
void btnExcel_Click(object sender, EventArgs e)

{
ConfigureExport();
rgvReport.ExportSettings.FileName =
"HourlyReport";

rgvReport.MasterTableView.ExportToExcel();
}


//This is for the (Export To Word)
protected void btnWord_Click(object sender, EventArgs e)

{
ConfigureExport();
rgvReport.ExportSettings.FileName =
"HourlyReport";

rgvReport.MasterTableView.ExportToWord();
}
//This is for the (Export To Pdf
protected
void btnPdf_Click(object sender, EventArgs e)

{
ConfigureExport();
CheckBox1.Checked =
true;

rgvReport.ExportSettings.FileName =
"HourlyReport";

rgvReport.ExportSettings.ExportOnlyData =
true;

rgvReport.MasterTableView.ExportToPdf();
}

//This function is just for the status
public
void ConfigureExport()

{
rgvReport.ExportSettings.ExportOnlyData = CheckBox1.Checked;
rgvReport.ExportSettings.IgnorePaging = CheckBox2.Checked;
rgvReport.ExportSettings.OpenInNewWindow = CheckBox3.Checked;
}

Advance Thank You

Regards,
Anto

Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 17 Mar 2009
3 answers
301 views
Hi All

I have created a grid

I have fetched the values from a table.

I have kept a button (Export To Pdf)

While clicking the button the datas are fetched and it appears in the pdf.

Is there any possible way to change the alignment in the pdf.

Thanks in Advance

Regards,
Anto



Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 17 Mar 2009
3 answers
622 views
I'm using the templates of a gridview. In item template I use a label to show empty data if the date is a minimum sqldatetime (1/1/1753). In the edit template I use raddatepicker which reads the date as 1/1/1753 and displays it both in the textbox and the datepicker calendar. If the date is 1/1/53 I would like the textbox to appear blank and the datepicker to show todays date. Is this possible?
Tsvetoslav
Telerik team
 answered on 17 Mar 2009
0 answers
228 views
Hello,

Please find attached all RadInput skins, which were embedded in the Q3 2008 RadControls version. They have been adapted to be fully compatible with the Q1 2009 release. In order to use them as non embedded skins, you should do the following:

1. copy the corresponding CSS file and images to your website, the exact location depends on your preference;
2. register the CSS file manually with a <link> tag or via an ASP.NET theme;
3. set EnableEmbeddedSkins="false" to the control, which will use the non-embedded skin;

For more information about RadControls' skinning mechanism and using non-embedded skins, please refer to:

How skins work

Skin registration

Using skins in ASP.NET themes

Disabling embedded resources

An online demo, which shows how to use various RadControls with non-embedded skins is available at:

Custom skins demo

Let us know if you have any questions.


Regards,
the Telerik team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 17 Mar 2009
1 answer
172 views
can i make an forims using telerik controls??

i want to make forums like telerik forums or like DotNetNuke forums with full support RTL


can i do that using telerik controls??



thank you so mouch
Princy
Top achievements
Rank 2
 answered on 17 Mar 2009
6 answers
136 views
Happy holidays one and all.

I've a behaviour that I cant get to the bottom of.

I've a 2 level tabstrip, and if I have a RadTabStrip_TabClick event the second level loose the highlighted style.

Any Ideas?

Andy

Andy Green
Top achievements
Rank 2
 answered on 17 Mar 2009
1 answer
114 views
Hi Team,
    I have set the checkbox value is true also can checked succeed,but I want to limit the max checked count in my treeview.
Can you give me a hand?  thank .

Shinu
Top achievements
Rank 2
 answered on 17 Mar 2009
2 answers
107 views
Hello,

How i can use a radgrid calling 3 different usercontrol for 3 mode(Update, Insert, details) ?

Thanks
Pavlina
Telerik team
 answered on 17 Mar 2009
1 answer
73 views
I need to display time span times from the database, based on the day selected.
Are there are any samples do the same?

For example, i have batch runs happens 3/9/2009  9 AM, 3/9/2009  11 AM, 3/9/2009  3PM, 3/9/2009  4PM, 3/9/2009  xy time.

Based on the user selected date 3/9/2009, I need to display batch execution times for that 3/9/2009, in time picker time span or some drop down.. Once user selects the time (say 3 PM), I need to bind this to database (3/9/2009 3 PM) and pass this value to generate a report...

Any ideas or sample code greatly appreciated.. 
Pavlina
Telerik team
 answered on 17 Mar 2009
4 answers
174 views
Hi All,

I'd like to disable an item (prevent hover change, cursor/click changes etc.) in the toolbar that contains an image (company logo).  I've tried setting the enabled property to false, but that gives the toolbar a grayed out effect on the image which is not what I want.  Is there an easy way to do this? or am I going to need to start manipulating the dom programmatically?  Thanks in advance.

-jo
Softec
Top achievements
Rank 1
 answered on 17 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?