Click here to Skip to main content
15,912,977 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to open pdf in the new tab or new browser? Pin
Dhyanga28-Jun-11 8:40
Dhyanga28-Jun-11 8:40 
GeneralRe: how to open pdf in the new tab or new browser? Pin
Parwej Ahamad28-Jun-11 8:45
professionalParwej Ahamad28-Jun-11 8:45 
GeneralRe: how to open pdf in the new tab or new browser? Pin
Dhyanga28-Jun-11 8:59
Dhyanga28-Jun-11 8:59 
AnswerRe: how to open pdf in the new tab or new browser? Pin
Vasudevan Deepak Kumar30-Jun-11 14:08
Vasudevan Deepak Kumar30-Jun-11 14:08 
QuestionFormatting data in a GridView Pin
mjackson1124-Jun-11 8:25
mjackson1124-Jun-11 8:25 
AnswerRe: Formatting data in a GridView Pin
thatraja24-Jun-11 8:54
professionalthatraja24-Jun-11 8:54 
GeneralRe: Formatting data in a GridView Pin
mjackson1124-Jun-11 9:36
mjackson1124-Jun-11 9:36 
AnswerRe: Formatting data in a GridView Pin
mjackson1125-Jun-11 9:46
mjackson1125-Jun-11 9:46 
Questionhow to get the list of files in a folder? Pin
neodeaths23-Jun-11 9:56
neodeaths23-Jun-11 9:56 
AnswerRe: how to get the list of files in a folder? Pin
Ali Al Omairi(Abu AlHassan)23-Jun-11 10:46
professionalAli Al Omairi(Abu AlHassan)23-Jun-11 10:46 
AnswerRe: how to get the list of files in a folder? Pin
Agent__00727-Jun-11 7:18
professionalAgent__00727-Jun-11 7:18 
Questionhow to solve dynamic control panel postback problem? Pin
neodeaths23-Jun-11 9:54
neodeaths23-Jun-11 9:54 
AnswerRe: how to solve dynamic control panel postback problem? Pin
kadaoui el mehdi26-Jun-11 0:32
kadaoui el mehdi26-Jun-11 0:32 
QuestionRegex pattern Pin
padmanabhan N23-Jun-11 3:14
padmanabhan N23-Jun-11 3:14 
AnswerRe: Regex pattern Pin
Keith Barrow23-Jun-11 4:10
professionalKeith Barrow23-Jun-11 4:10 
QuestionDisplaying the image from the Sql Pin
NaveenHS23-Jun-11 2:15
NaveenHS23-Jun-11 2:15 
AnswerRe: Displaying the image from the Sql Pin
Blue_Boy23-Jun-11 4:55
Blue_Boy23-Jun-11 4:55 
AnswerRe: Displaying the image from the Sql Pin
GenJerDan23-Jun-11 6:14
GenJerDan23-Jun-11 6:14 
GeneralRe: Displaying the image from the Sql Pin
Not Active23-Jun-11 7:38
mentorNot Active23-Jun-11 7:38 
GeneralRe: Displaying the image from the Sql Pin
GenJerDan23-Jun-11 7:49
GenJerDan23-Jun-11 7:49 
GeneralRe: Displaying the image from the Sql Pin
Not Active23-Jun-11 8:03
mentorNot Active23-Jun-11 8:03 
GeneralRe: Displaying the image from the Sql Pin
GenJerDan23-Jun-11 8:08
GenJerDan23-Jun-11 8:08 
AnswerRe: Displaying the image from the Sql Pin
RichardGrimmer28-Jun-11 5:05
RichardGrimmer28-Jun-11 5:05 
AnswerRe: Displaying the image from the Sql Pin
Morgs Morgan8-Jul-11 5:19
Morgs Morgan8-Jul-11 5:19 
Hi,
I don't know if you have sorted this out but the last person who commented got it right though unclear.
What he/she meant is that have an already existing img/image on you page that it's src comes from another page like so:

<img id="theImageFromSQL" runat="server" alt="theImageFromSQL" src="ImagesPage.aspx?id=someId" />
//Now create a separate empty page ImagesPage.aspx
//in the Page Load check the query string (id) and use it to query your database for the right image to display
//then do exactly what you did above


//when a browser loads the image it will call ImagesPage.aspx and this page will write back JUST an image which is what you want (i guess)

You can leave the other controls on the 'main' page which could be Home.aspx/Default.aspx and ofcourse your img/image will be in this same main page.

shout if u need more help
Morgs
QuestionStrongly typed ActionLink is not present in vs 2010.. Pin
siva45522-Jun-11 23:45
siva45522-Jun-11 23:45 

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.