Click here to Skip to main content
15,914,608 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCheck Box Pin
kaushik49019-Aug-07 18:42
kaushik49019-Aug-07 18:42 
Questionaccessing all controls of a page.. Pin
hkchauhan19-Aug-07 18:41
hkchauhan19-Aug-07 18:41 
AnswerRe: accessing all controls of a page.. Pin
mani_iips21-Aug-07 22:12
mani_iips21-Aug-07 22:12 
QuestionUsing Multiviews Pin
duo!@#19-Aug-07 17:03
duo!@#19-Aug-07 17:03 
QuestionCreate and Download CSV file in asp.net Pin
HatakeKaKaShi19-Aug-07 16:40
HatakeKaKaShi19-Aug-07 16:40 
AnswerRe: Create and Download CSV file in asp.net Pin
Christian Graus19-Aug-07 16:56
protectorChristian Graus19-Aug-07 16:56 
GeneralRe: Create and Download CSV file in asp.net Pin
HatakeKaKaShi19-Aug-07 17:18
HatakeKaKaShi19-Aug-07 17:18 
Questionneed help on Image control in the datalist Pin
hurrem19-Aug-07 15:25
hurrem19-Aug-07 15:25 
Hi,
I have a very interesting problem, my code doesn't show any errors or exceptions, but when I'm running the web-page, it still doesn't work properly. I want to bind an image on an image control, which is inside the Datalist and Datalist is inside the DetailsView. When I'm debugging the code, it shows me the imageURL path very well, but doesn't show me the image in the browser.
My Select statement si : SelectCommand="SELECT [Source] FROM [Images] WHERE ([NID] = @NID)

Here is my code on page load:
<br />
string nID = Request.QueryString["nID"].ToString();<br />
<br />
        DataView view = (DataView)ImagesSqlDataSource.Select(DataSourceSelectArguments.Empty);<br />
        int count = (int)view.Table.Rows.Count;<br />
        Label username = (Label)NDetailsView.FindControl("UsernameLabel");<br />
        DataList ImagesDataList = (DataList)NDetailsView.FindControl("ImagesDataList");<br />
        <br />
        for (int i = 0; i < count; i++)<br />
        {<br />
            Image image = (Image)ImagesDataList.Items[i].FindControl("ImageControl");<br />
            string imagename = (string)view.Table.Rows[i].ItemArray[0];<br />
            image.ImageUrl = Request.PhysicalApplicationPath + @"Images\" + username.Text + "\\" + nID + "\\" + imagename;<br />
            <br />
        }


Thank you
AnswerRe: need help on Image control in the datalist Pin
Rama Krishna Vavilala19-Aug-07 15:32
Rama Krishna Vavilala19-Aug-07 15:32 
GeneralRe: need help on Image control in the datalist Pin
hurrem19-Aug-07 15:56
hurrem19-Aug-07 15:56 
QuestionGoDaddy Email problem [modified] Pin
John Andrew19-Aug-07 13:31
John Andrew19-Aug-07 13:31 
GeneralCalling ClientSide Script 'after' handling server side [modified] Pin
Malcolm Smart19-Aug-07 11:58
Malcolm Smart19-Aug-07 11:58 
GeneralRe: Calling ClientSide Script 'after' handling server side Pin
Fred_Smith19-Aug-07 12:45
Fred_Smith19-Aug-07 12:45 
GeneralRe: Calling ClientSide Script 'after' handling server side Pin
Malcolm Smart19-Aug-07 13:31
Malcolm Smart19-Aug-07 13:31 
QuestionHow to call javascript function from aspx page Pin
beish119-Aug-07 7:36
beish119-Aug-07 7:36 
AnswerRe: How to call javascript function from aspx page Pin
Bassam Saoud19-Aug-07 7:52
Bassam Saoud19-Aug-07 7:52 
GeneralRe: How to call javascript function from aspx page Pin
beish119-Aug-07 13:02
beish119-Aug-07 13:02 
GeneralRe: How to call javascript function from aspx page Pin
Christian Graus19-Aug-07 13:17
protectorChristian Graus19-Aug-07 13:17 
GeneralRe: How to call javascript function from aspx page Pin
beish119-Aug-07 13:50
beish119-Aug-07 13:50 
GeneralRe: How to call javascript function from aspx page Pin
beish119-Aug-07 14:01
beish119-Aug-07 14:01 
QuestionNeed Suggestions before starting... Pin
just3ala219-Aug-07 4:11
just3ala219-Aug-07 4:11 
AnswerRe: Need Suggestions before starting... Pin
Not Active19-Aug-07 5:09
mentorNot Active19-Aug-07 5:09 
Questiondrag and drop element with javascript !!!!!!!!!!!! Pin
mr.mohsen19-Aug-07 3:37
mr.mohsen19-Aug-07 3:37 
AnswerRe: drag and drop element with javascript !!!!!!!!!!!! Pin
Michael Sync19-Aug-07 4:59
Michael Sync19-Aug-07 4:59 
AnswerRe: drag and drop element with javascript !!!!!!!!!!!! Pin
Not Active19-Aug-07 5:00
mentorNot Active19-Aug-07 5:00 

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.