Click here to Skip to main content
15,890,282 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to fire an event from a different Pin
raghvendrapanda1-Jun-10 3:37
raghvendrapanda1-Jun-10 3:37 
QuestionAjax CascadingDropdownControl Pin
Ratnesh N Bharos28-May-10 3:16
Ratnesh N Bharos28-May-10 3:16 
AnswerRe: Ajax CascadingDropdownControl Pin
Peace ON28-May-10 3:22
Peace ON28-May-10 3:22 
Answer[Cross-post]: Ajax CascadingDropdownControl Pin
Sandeep Mewara28-May-10 4:20
mveSandeep Mewara28-May-10 4:20 
QuestionImage upload dimensions Pin
Paul McGann28-May-10 2:12
professionalPaul McGann28-May-10 2:12 
AnswerRe: Image upload dimensions Pin
JHizzle28-May-10 2:26
JHizzle28-May-10 2:26 
GeneralRe: Image upload dimensions Pin
Paul McGann28-May-10 2:57
professionalPaul McGann28-May-10 2:57 
AnswerRe: Image upload dimensions Pin
Peace ON28-May-10 2:28
Peace ON28-May-10 2:28 
In Asp.NET you can check image file's height and width
before uploading it using following code.

VB
Dim upBmp As Bitmap = Bitmap.FromStream(FileUpload1.PostedFile.InputStream)
Dim upWidth As Integer = upBmp.Width
Dim upHeight As Integer = upBmp.Height


But for that you need server trip.
So best way is using javascript.


HTH
Jinal Desai - LIVE
Experience is mother of sage....

GeneralRe: Image upload dimensions Pin
Paul McGann28-May-10 2:58
professionalPaul McGann28-May-10 2:58 
Questionmultiple web.config file in on application Pin
tanweer28-May-10 1:50
tanweer28-May-10 1:50 
AnswerRe: multiple web.config file in on application Pin
Peace ON28-May-10 2:03
Peace ON28-May-10 2:03 
AnswerRe: multiple web.config file in on application Pin
Jamil Hallal28-May-10 3:37
professionalJamil Hallal28-May-10 3:37 
QuestionReturn List<> from user control & bind to parent page grid. Pin
zeego28-May-10 1:07
zeego28-May-10 1:07 
AnswerRe: Return List from user control & bind to parent page grid. Pin
Peace ON28-May-10 1:22
Peace ON28-May-10 1:22 
GeneralRe: Return List from user control & bind to parent page grid. [modified] Pin
zeego28-May-10 1:31
zeego28-May-10 1:31 
Questionmake website url like www.websitename.com/username Pin
sumit703428-May-10 0:54
sumit703428-May-10 0:54 
AnswerRe: make website url like www.websitename.com/username Pin
Peace ON28-May-10 1:24
Peace ON28-May-10 1:24 
Questionwhy it gives an error in crystal report? Pin
hi_everybody28-May-10 0:34
hi_everybody28-May-10 0:34 
Questionhow can i send parameters by post method in asp.net? Pin
buffering8327-May-10 20:51
buffering8327-May-10 20:51 
AnswerRe: how can i send parameters by post method in asp.net? Pin
Sandeep Mewara27-May-10 21:33
mveSandeep Mewara27-May-10 21:33 
AnswerRe: how can i send parameters by post method in asp.net? Pin
Peace ON27-May-10 21:37
Peace ON27-May-10 21:37 
QuestionWeb applications impacted due to upgradation of IE 6 to IE 8 Pin
Rajiya27-May-10 18:40
Rajiya27-May-10 18:40 
AnswerRe: Web applications impacted due to upgradation of IE 6 to IE 8 Pin
Anurag Gandhi27-May-10 20:26
professionalAnurag Gandhi27-May-10 20:26 
AnswerRe: Web applications impacted due to upgradation of IE 6 to IE 8 Pin
Peace ON28-May-10 0:42
Peace ON28-May-10 0:42 
Questiontransfer datas from a table into an Object [modified] Pin
nstk27-May-10 10:56
nstk27-May-10 10:56 

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.