Active Server Pages Programming (ASP)/ASP.net

Advertisement


Question
Dear sir,
I had two following questions. Could you please send me your reply in order to solve my problems.

1. In windows forms, I can use Rich Text Box to style each word in a string in this control, for example I can change font color for each word. However, as I understand, there is not a equivalent control in Web forms in ASP.NET.
In ASP web pages there used to be a Main Box control that I could use. Could you please advice me on this issue.

2. In an ASP.NET web application, I need to use an openFileDialog to open a file locally on the client side ; however when it gets to this code
Dim myStream As Stream = openFileDialog1.OpenFile()
I get the following  error message :
Index was outside the bounds of the array.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
Could you please advise me on this issue?  

Answer
hi

1.  goto http://www.fckeditor.net/ you can download its free and they got lot of sample to use that.

2. its not possible any C# or VB.net code will execute only on the server side.  If you want to open a file first upload from client to the server and open from server.

Happy programming!

-Srini

Active Server Pages Programming (ASP)

All Answers


Answers by Expert:


Ask Experts

Volunteer


Srini Nagarajan

Expertise

I can answer any kind of questions in ASP.NET, C#, VB.NET, SharePoint 2007, ASP, Coldfusion, Powerbuilder 7.00 / 8.00, JAVA servlets, MS SQL 2000 / MSSQL7, Sybase

Experience

Contact me if you need any custom development on ASP.NET, ASP, SharePoint 2007, Coldfusion, Powerbuilder.

©2012 About.com, a part of The New York Times Company. All rights reserved.