Telerik Forums
Community Forums Forum
5 answers
221 views
telerik is happy to announce the availability of Service Pack 2 for radControls for ASP.NET Q4 2006.

Full Release Notes
Marin Bratanov
Top achievements
Rank 1
Iron
 answered on 26 Sep 2016
0 answers
135 views

Hello, Myself Anil, interested in learning programming. I am just starting to read and learn ebook "Fundamental of Programming with C# - Stevlin Nakov v2013".

I am here because of ebook reference to solve some problems given in ebook exercise.

Is this the right forum (category) to discuss about problems??

or, any suggestion for me 

 

Thanks you in advance for your time and assistance.

Kunna
Top achievements
Rank 1
 asked on 13 Sep 2016
2 answers
111 views

Im Telerik customer from 2010 and i can say Telerik is company which offer very good products for developers - i speak abou Ajax Telerik, Kendo and Winform. One of product looks like was abandoned -JustCode. But telerik always say no no, we are working on it :). But globaly, Telerik brings very good portfolio at good price.

Bad things:

Bugs. At 2010 i saw WE ARE WORKING ON IT VERY HARD. But same today in 2016. Just make 1 release dedicated to fix all bugs and no new functionality.

EdyTeddy-1975
Top achievements
Rank 2
 answered on 09 Sep 2016
0 answers
84 views

Hi, guys! Any recommendations for a web security scanner?  We want to make sure our private information are protected from hackers.  Thanks for your time.

 

Liberty
Top achievements
Rank 1
 asked on 20 Aug 2016
8 answers
393 views
http://www.leftlanenews.com/2006/05/02/video-real-life-frogger/

I don't beleive in my eyes.

Valeri Hristov
r.a.d.dock/editor/spell/upload/window development team
Liberty
Top achievements
Rank 1
 answered on 19 Aug 2016
3 answers
48 views

Hi Guys,

 

Thanks for making this kind of community where I can learn a lot from other people. I was searching android forums on Google and found this amazing website where i can share my opinion with other people.

Hope we all have a great day.

 

Thanks

Sara

New Clone of omics publishing group.

Sara
Top achievements
Rank 1
 answered on 10 Aug 2016
18 answers
3.4K+ views
Using the clipboard class in C# or VB.NET is pretty simple for windows applications. However, it gets a little trickier for ASP.Net projects.

Background:
The first question you may ask is "Why would you ever want to use the server's clipboard to do anything?" Good question :). I came accross this problem when I was trying to write a pdf parser that would rasterize the front page and save it into a Bitmap object. From here, you can save it to a file, database, etc. To do this, I was using the Adobe Acrobat com library that comes with Adobe Acrobat 7.0. Unfortunatly, they do not have a function that allows you to simply save to a file. They do, however, let you copy the image to the clipboard and then recover it in whatever format you want.

Problem:
I found some great code here: http://www.codeproject.com/dotnet/pdfthumbnail.asp. This code was written for a C#/VB.Net Windows App and works great if used that way. However, when I tried to use this text in the OnClick event of an ASP Button control, i found that nothing was happening. Turns out, the CopyToClipboard command was working fine, b/c if I traced through, I could press ctrl+v and see the image perfectly. However, when the Clipboard.GetObject method was called, it was always returning Null.

Solution:
After much digging and 2 days of work, I stumbled on the reason: The thread started for the ASP.Net application did not have the right ApartmentState to read the Clipboard class. So, here is what I did to work around this:

protected void Button_Click(object sender, EventArgs e)
{
 Thread cbThread = new Thread(new ThreadStart(CopyToClipboard));
 cbThread.ApartmentState = ApartmentState.STA;
 cbThread.Start();
 cbThread.Join();
}

[STAThread]
protected void CopyToClipboard()
{
/*
In here, put the code that copies AND retrieves from the clipboard.
If you use global variables, the Bitmap you populate here can be used elsewhere in your code.
*/
}

Final Notes:
I do not recommend doing this in a multi-user environment as there is no guarentee that the user that copied to the clipboard will be the one who retrieves from it. Also, images/pdfs can be very large and the clipboard is slow.

I hope this is of some use to someone. It solved my problem and saved me $900 by not having to buy a PDF Rasterizer control. Feel free to respond and let me know if it helped you out or if you have any questions.

~ Oleg Fridman
John
Top achievements
Rank 1
 answered on 06 Aug 2016
8 answers
73 views
Please delete my Telerik account and all data associated with it. Thanks.
Seth
Telerik team
 answered on 04 Aug 2016
3 answers
90 views

Hi

I need someone to delete attachment from my post:

 

http://www.telerik.com/forums/unable-to-resize-radgrid-columns-in-ie-11#Yesb4ehUxESVxytCa_VYpQ

 

Thanks in advance.

Gaurav
Top achievements
Rank 1
 answered on 22 Jun 2016
175 answers
389 views
Hello,

please deactivate and delete my Account .

Thx
EL Karima
Jameson
Telerik team
 answered on 13 Jun 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?