Click here to Skip to main content
15,895,142 members
Home / Discussions / C#
   

C#

 
GeneralRe: Server/Client connection problem TCP Pin
MrMahjong21-Jun-07 4:00
MrMahjong21-Jun-07 4:00 
QuestionHow to retreive domain username and password Pin
Prajin21-Jun-07 2:36
Prajin21-Jun-07 2:36 
AnswerRe: How to retreive domain username and password Pin
originSH21-Jun-07 3:14
originSH21-Jun-07 3:14 
AnswerRe: How to retreive domain username and password Pin
Sathesh Sakthivel21-Jun-07 3:20
Sathesh Sakthivel21-Jun-07 3:20 
GeneralRe: How to retreive domain username and password Pin
originSH21-Jun-07 3:23
originSH21-Jun-07 3:23 
Questionderiving a user control from a user control Pin
cignox121-Jun-07 2:13
cignox121-Jun-07 2:13 
QuestionCertificate Chain Verification in x509certificate in .NET Pin
suprajav21-Jun-07 2:04
suprajav21-Jun-07 2:04 
QuestionCycling Through XML Objects Pin
Kris10021-Jun-07 1:34
Kris10021-Jun-07 1:34 
Hello Programmers!

I might totally have the wrong end of the stick with this one, but any help would be great as im getting a bit lost! im attempting to create a user interface based on an XML file using C# and Expression Blend. this might be the wrong forum for this, if so, please let me know Smile | :)

right, so i have the following XML file set up like so :-

<portfolio>
&#8722;
<portfolioItem id="1" name="full name" featuredItem="true">
<summaryDescription>summary description here </summaryDescription>
&#8722;
<fullDescription>
Complete Description Here
</fullDescription>
&#8722;
<websiteAddress>
siteaddress1
</websiteAddress>

<fullSizeImage>location1</fullSizeImage>
<thumbnailImage>location1</thumbnailImage>
&#8722;
<detailImages>
<image>location1</image>
<image>location2</image>
<image>location3</image>
<image>location4</image>
<image>location5</image>
<image>location6</image>
<image>location7</image>
<image>location8</image>
</detailImages>
</portfolioItem>
&#8722;
<portfolioItem id="2" name="full name" featuredItem="true">
<summaryDescription>summary description here </summaryDescription>
&#8722;
<fullDescription>
Complete Description Here
</fullDescription>
&#8722;
<websiteAddress>
siteaddress1
</websiteAddress>

<fullSizeImage>location1</fullSizeImage>
<thumbnailImage>location1</thumbnailImage>
&#8722;
<detailImages>
<image>location1</image>
<image>location2</image>
<image>location3</image>
<image>location4</image>
<image>location5</image>
<image>location6</image>
<image>location7</image>
<image>location8</image>
</detailImages>
</portfolioItem>

(total number will be dynamic)

so, in blend i have binded the name and description (for now) to textBlocks, and, it shows the first item in the list when built.

now then, can i configure a button (with c# code) to cycle through the items and display the relevent details on a single window? will i need to create a class in the code behind file and load the data in or does this XML format allow direct access?

any help would be great and thank you for your time ladies and gents Smile | :)

Kris


Questionwhy we using properties Pin
indiaone21-Jun-07 1:13
indiaone21-Jun-07 1:13 
AnswerRe: why we using properties Pin
originSH21-Jun-07 1:19
originSH21-Jun-07 1:19 
GeneralRe: why we using properties Pin
indiaone21-Jun-07 1:21
indiaone21-Jun-07 1:21 
GeneralRe: why we using properties Pin
originSH21-Jun-07 1:28
originSH21-Jun-07 1:28 
GeneralRe: why we using properties Pin
Martin#21-Jun-07 1:34
Martin#21-Jun-07 1:34 
GeneralRe: why we using properties Pin
originSH21-Jun-07 1:38
originSH21-Jun-07 1:38 
GeneralRe: why we using properties Pin
Martin#21-Jun-07 1:58
Martin#21-Jun-07 1:58 
GeneralRe: why we using properties Pin
Martin#21-Jun-07 1:22
Martin#21-Jun-07 1:22 
AnswerRe: why we using properties Pin
DavidNohejl21-Jun-07 1:33
DavidNohejl21-Jun-07 1:33 
AnswerRe: why we using properties [modified] Pin
PIEBALDconsult21-Jun-07 9:12
mvePIEBALDconsult21-Jun-07 9:12 
QuestionRe: why we using properties Pin
Martin#21-Jun-07 9:30
Martin#21-Jun-07 9:30 
AnswerRe: why we using properties Pin
PIEBALDconsult21-Jun-07 10:35
mvePIEBALDconsult21-Jun-07 10:35 
GeneralRe: why we using properties Pin
Martin#21-Jun-07 10:49
Martin#21-Jun-07 10:49 
GeneralRe: why we using properties Pin
PIEBALDconsult21-Jun-07 11:02
mvePIEBALDconsult21-Jun-07 11:02 
QuestionReading the MS Visio File Pin
MARKZAI21-Jun-07 1:06
MARKZAI21-Jun-07 1:06 
AnswerRe: Reading the MS Visio File Pin
Ravi Dhingra4-Oct-10 0:15
Ravi Dhingra4-Oct-10 0:15 
QuestionActive Directory Pin
Tauseef A21-Jun-07 0:59
Tauseef A21-Jun-07 0:59 

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.