Telerik Forums
Community Forums Forum
0 answers
42 views
The latest version of Telerik Reporting (Q1 2009 SP1) is now available for download from your accounts. You can find the full list of  fixes in the Release Notes.

Enjoy!

The Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 30 Apr 2009
0 answers
97 views
dear sir,
How can I update Schedular's CSS


thanx and Regards,
Golu
Top achievements
Rank 1
 asked on 29 Apr 2009
2 answers
81 views
Hi,

your forums are divided in parts like ASPX, WPF and so on.
BUT - this only a theory.
For longer time I watched this but it never was a problem for me.
To be more clear - in the breadcrumbs I see now
Home > Community > Forums > Community Forums: Forum suggestions > New Thread
What I would expect (want) to see would be:
Home > Community > Forums > Community ForumsForum suggestions > New Thread

The reason why I ask for this is search - I (almost) always search before I post.
Maybe someone else had the same question - or a similar problem and there is already a thread out there.
http://www.albinoblacksheep.com/flash/posting :)

Today I wanted to get some information about Silverlight RoutedEvents.
So the first place to search is Silverlight: General...
I found nothing - the next place would be anywhere in Silverlight - because (and that me occur for other things also) it is very likely that someone has a "RoutedEvent problem / suggestion" specific to a control.
BUT - this information discusses (lets say) in Combo could cover the things in a manner that also applies to Window.

The only way to be a "friendly searching poster" would be to search each and every "subforum" on silverlight.
Because the "Silverlight" itself is not a "subforum" and therefore not searchable.

So it would be great to have those subparts (WPF, ASPX,...) as real parts - or somehow searchable as a whole.

Regards

Manfred
ManniAT
Top achievements
Rank 2
 answered on 28 Apr 2009
0 answers
99 views
Hello,
I want to share this
Minimalist jQuery: 11 useful plugins under 4K

Kind regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 27 Apr 2009
1 answer
118 views
Hello,
I was found this interesting tools for LINQ.
Please check this: LINQPad

Best regards
Mostafa Anoosheh
Codie
Top achievements
Rank 1
 answered on 26 Apr 2009
4 answers
344 views
It is our pleasure to announce the immediate availability of RadControls for ASP.NET AJAX Q1 2009 SP1 with full compatibility with the recently released Internet Explorer 8 browser.

Check out the list of full Release Notes 

Happy Coding!
Telerik Team.
Ivo
Telerik team
 answered on 23 Apr 2009
3 answers
69 views

I defined, 2 comboxes. 
Combox1 is defined with selectIndexchanges:  this will populate data for combox2.
That's work fine, unless I define a button with click_event.  Once I click the button, the selectIndexChanged of Combox1 is also called.  Not sure I did something or it is naturally new bug of Ajax Q1 2009?  I did trying dropdownlist, it works fine.  Could you give some suggestion?

Cheers,

Duy
 
Notes:  I also posted this message in forum suggestion.

Simon
Telerik team
 answered on 22 Apr 2009
4 answers
124 views
I have developed a Google Gadget called Expense Tracker using Telerik's RadControls for Silverlight.
Asit Aithal
Top achievements
Rank 2
 answered on 18 Apr 2009
2 answers
1.6K+ views
Hi

From VB.NET I want to simulate the POST request of the following HTML form

<html>   
<title>HTTP Post Testing</title>   
<body>   
<form action=http://www.example.com/postdata   
enctype="multipart/form-data" method="post" name="testform">   
<input id="user_login" name="user[login]" size="30" type="hidden"   
value="user01" />   
<input id="user_password" name="user[password]" size="30"   
type="hidden" value="123456" />   
               <table>   
                       <tr>   
                               <td>File:</td>   
 
                               <td><input id="file" name="file"   
type="file" /></td>   
                       </tr>   
                       <tr>   
                               <td colspan="2"><input name="commit"   
type="submit" value="Upload" name="upload"/></td>   
                       </tr>   
               </table>   
       </form>   
</body>   
</html>  

The target URL would return "OK" for successful upload and empty otherwise.

My code to generate the POST request is as followed:

        Try 
            Dim request As HttpWebRequest = CType(WebRequest.Create(Me.txtURL.Text), HttpWebRequest) 'this textbox contains the target URL of the request  
            ' Set the Method property of the request to POST.  
            request.Method = "POST" 
            request.Accept = "*/*" 
            request.UserAgent = "curl/7.16.3" 
            request.ProtocolVersion = HttpVersion.Version11  
            request.Referer = "http://www.mydomain.com/" 
            request.SendChunked = True 
 
            System.Net.ServicePointManager.Expect100Continue = False 
 
            ' Create POST data and convert it to a byte array.  
            Dim postData As String = "" 
 
            postData += Boundary + Chr(13) + Chr(10) + "Content-Disposition: form-data; name=""user[login]""" + Chr(13) + Chr(10) + Chr(13) + Chr(10)  
            postData += "gape" + Chr(13) + Chr(10)  
            postData += Boundary + Chr(13) + Chr(10) + "Content-Disposition: form-data; name=""user[password]""" + Chr(13) + Chr(10) + Chr(13) + Chr(10)  
            postData += "telipoint8" + Chr(13) + Chr(10)  
            postData += Boundary + Chr(13) + Chr(10) + "Content-Disposition: form-data; name=""file""; filename=""helpcurl.txt""" + Chr(13) + Chr(10)  
            postData += "Content-Type: text/plain" + Chr(13) + Chr(10) + Chr(13) + Chr(10)  
            postData += "fdfgfggfbfgggggggggggggggg" + Chr(13) + Chr(10) + Boundary + "--" + Chr(13) + Chr(10)  
 
            Dim encoding As New System.Text.ASCIIEncoding()  
            Dim byteArray As Byte() = encoding.GetBytes(postData)  
 
            ' Set the ContentType property of the WebRequest.  
            'request.ContentType = "application/x-www-form-urlencoded"  
            request.ContentType = "multipart/form-data; boundary=" + Me.Boundary + vbCrLf + vbCrLf  
            ' Set the ContentLength property of the WebRequest.  
            request.ContentLength = byteArray.Length  
 
            ' Get the request stream.  
            Dim dataStream As Stream = request.GetRequestStream()  
            ' Write the data to the request stream.  
            dataStream.Write(byteArray, 0, byteArray.Length)  
            ' Close the Stream object.  
            dataStream.Close()  
 
            ' Get the response.  
            Dim response As WebResponse = request.GetResponse()  
            ' Display the status.  
            MsgBox(CType(response, HttpWebResponse).StatusDescription, MsgBoxStyle.Information, "Response Code")  
 
            ' Get the stream containing content returned by the server.  
            dataStream = response.GetResponseStream()  
 
            ' Open the stream using a StreamReader for easy access.  
            Dim reader As New StreamReader(dataStream)  
            ' Read the content.  
            Dim responseFromServer As String = reader.ReadToEnd()  
 
            ' Display the content.  
            txtResponse.Text = responseFromServer 'this textbox shows the response from the server  
 
            ' Clean up the streams.  
            reader.Close()  
            dataStream.Close()  
            response.Close()  
        Catch Ex As Exception  
            MsgBox(Ex.Message, MsgBoxStyle.Exclamation, "Error Encountered")  
        End Try 

Here I tried to simulate the upload of a text file. When I tried this code the server alays return 404 (Resource not Found) even though the URL is correct. When the ContentType is changed to "application/x-www-form-urlencoded", i.e. no file upload but only transfer normal text fields, the server seems to accept the request and returns empty (unsucessful upload), which is correct. When I tried the above code (with content-type=multipart-formdata) against an ASP script put on my locahost:

<%  
 
test1 = Request.Form("user[login]")  
test2 = Request.Form("user[password]")  
 
Response.Write(test1 + "<br>" + test2)  
 
%> 

my script returns empty strings, which means the POST request generated by my VB code is malformed. But I cannot see what's wrong. I have compared it to the output of the following curl command

curl -F user[login]=user01 -F user[password]=123456 -F
file=@myfile.txt http://www.readysnap.com/print/mup and everything is exactly the same.

Can anyone suggest what's wrong? Thanks. :)
Alex
Top achievements
Rank 1
 answered on 16 Apr 2009
0 answers
194 views
It is our pleasure to announce the immediate availability of RadControls for WinForms Q1 2009 SP1 with many bug fixes and several performance optimizations across different controls. Check out the list of full Release Notes 

Enjoy!

Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 15 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?