Click here to Skip to main content
15,900,378 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How can i instantiate C# class from javascript ?? Pin
«_Superman_»6-Jan-09 21:20
professional«_Superman_»6-Jan-09 21:20 
QuestionOleDbDataAdapter Pin
rema r6-Jan-09 19:50
rema r6-Jan-09 19:50 
AnswerRe: OleDbDataAdapter Pin
Wendelius7-Jan-09 0:56
mentorWendelius7-Jan-09 0:56 
GeneralRe: OleDbDataAdapter Pin
rema r8-Jan-09 1:49
rema r8-Jan-09 1:49 
GeneralRe: OleDbDataAdapter Pin
Wendelius8-Jan-09 1:54
mentorWendelius8-Jan-09 1:54 
QuestionFolder and file view Pin
sb_rs5-Jan-09 22:07
sb_rs5-Jan-09 22:07 
AnswerRe: Folder and file view Pin
Simon P Stevens5-Jan-09 23:11
Simon P Stevens5-Jan-09 23:11 
AnswerRe: Folder and file view Pin
ShilpaGinodiya6-Jan-09 0:41
ShilpaGinodiya6-Jan-09 0:41 
Hi,

You didnot mention which version of .Net are you working on?

Anyways, if you are using .net 2.0 you can use fileupload control by which you can select the file same as you select in windows.

Just add below code on page_load event.

Button1.Attributes.Add("onclick","document.getElementById(' " + FileUpload1.ClientID+ "').click()");

Where button1 is the id of the button you want to open the browser window when being clicked and FileUpload1 is the id of the file upload control.

But if you are using .net 1.1 you need to write code explicitely for opening window explorer like file selector. There are some classes defined in framework for that.

Hope this will help. Smile | :)

Cheers
Shilpa
GeneralRe: Folder and file view Pin
Lev Danielyan7-Jan-09 22:48
Lev Danielyan7-Jan-09 22:48 
QuestionConnection Pooling problem Pin
ruanr5-Jan-09 20:58
ruanr5-Jan-09 20:58 
AnswerRe: Connection Pooling problem Pin
Wendelius5-Jan-09 22:18
mentorWendelius5-Jan-09 22:18 
GeneralRe: Connection Pooling problem Pin
ruanr6-Jan-09 20:14
ruanr6-Jan-09 20:14 
GeneralRe: Connection Pooling problem Pin
Wendelius7-Jan-09 0:36
mentorWendelius7-Jan-09 0:36 
AnswerRe: Connection Pooling problem Pin
Roger Wright6-Jan-09 2:12
professionalRoger Wright6-Jan-09 2:12 
AnswerRe: Connection Pooling problem Pin
Pete O'Hanlon6-Jan-09 10:50
mvePete O'Hanlon6-Jan-09 10:50 
GeneralRe: Connection Pooling problem Pin
ruanr6-Jan-09 20:17
ruanr6-Jan-09 20:17 
GeneralRe: Connection Pooling problem Pin
Pete O'Hanlon6-Jan-09 22:11
mvePete O'Hanlon6-Jan-09 22:11 
QuestionDatabindings fail to update db Pin
dragon525-Jan-09 20:27
dragon525-Jan-09 20:27 
AnswerRe: Databindings fail to update db Pin
Wendelius6-Jan-09 1:34
mentorWendelius6-Jan-09 1:34 
GeneralRe: Databindings fail to update db Pin
dragon526-Jan-09 16:28
dragon526-Jan-09 16:28 
GeneralRe: Databindings fail to update db Pin
Wendelius6-Jan-09 18:14
mentorWendelius6-Jan-09 18:14 
GeneralRe: Databindings fail to update db Pin
dragon528-Jan-09 15:07
dragon528-Jan-09 15:07 
GeneralRe: Databindings fail to update db Pin
Wendelius9-Jan-09 0:00
mentorWendelius9-Jan-09 0:00 
QuestionRequirment to create a web site in which user can create his mail account Pin
rahuladya5-Jan-09 20:11
rahuladya5-Jan-09 20:11 
AnswerRe: Requirment to create a web site in which user can create his mail account Pin
Lev Danielyan5-Jan-09 20:40
Lev Danielyan5-Jan-09 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.