Hi, I have a class student class. student { StudentName{get;set;} Gender StudentGender{get;set} } Gender (this is enum) { Male, Female, } I have binded list of students to xamdatagrid. (which contains the Name,Image) My requirement is if the student is Male, display the Male image, if the record is female, display the female record based on the Enum(Gender). how can we achive this is .xaml Note: Male image and Female image nothing but icons.(static)
sreenivasaraok
Posts
-
Image for each record in xamdatagrid -
XamDateTimeEditor to open the Calendar control by default - without click on dropdown in the XamDateTimeEditorHi, I am using the "XamDateTimeEditor" i have set a property to: "DropDownButtonDisplayMode.Always" and while page loading i want to dispaly the calendar cotnrol without clicking on the "XamDateTimeEditor". thanks in advance.
-
Regarding xamdatagridHi, I am using "Xamdatagrid" in that i have two columns which are getting data from database. Example : Firstname Ename --- Def Lmn Lmn Xyz ------ ----- Ghi if i have Ename i won't display the "FristName" it should blank. in the above grid i ihave Ename "Lmn" but in the "FirstName" also it is displaying. i need to show firstname as blank. how to do this in xaml(by datatrigger or converters) thanks in advacnce.
-
How to create a wrapper class in c#.net?HI, I have customer class. i want to create the wrapper class fot this? how to create wrapmper class for the customer? What is wrapper class?
-
xamdatagrid with tooltipHi, I have one form with xamdatagrid(infragistic control) and listbox. on form load xamdatagrid contains the records with the columns: SNo, Sname List box contains the sports: FootBall,BaseBall,Tennis and Boxing. Whenever we select a row on the grid then favourite sport is selected.(selection would depend the database) So, i want to dispaly the selected item as a tooltip for each row selection. Thanks
-
Combobox and listboxHi, I have one combobox and listbox. combobox contains the Student numbers. list box contains the following list: (sports list) FootBall Cricket BaseBall Hockey Tennis Boxing if I select student number=10 from the combobox and his favourite sports are :FootBall and Tennis if I select student number=20 from the combobox and his favourite sports are :BaseBall and Boxing if I select student number=30 from the combobox and his favourite sports are :Cricket Note: once i select the student number from combobox and the respective sports items in the listbox are highligted. Thanks in advance.
-
VS-2008 Installation IssueHi, I have installed VS-2008. While working on WPF application i am unable to drag and drop the controls from the tool box on to the Form(Window). I have done thirce (Uninstall and install), but i couldn't find the solution. Do i need to install any Service pack for this? Please help me out for the same. Thanks.
-
About MVP architectureHi, I am new to MVP architecture. Can anybody please send the sample project like student/Employee which will demonistrates the MVP architecture. The article is good help to me which is posted by you. Thanks in advance.
-
Regarding .net 3.0Hi, i am new to .net 3.0. i have worked in .net 2.0. what needs to be installed for .net 3.0? and give me software links.
-
xml with crystal reportsHi, i have one requirement. i am applying xslt to my xml file. it is giving one xml file like 101 Mathematics i am using this one as my datasource and using this source in my crystl reports. in field expert window i am able to see this element's data(right click on element browse data). but the problem is if i drag these elements i am getting only element value. so, what needs to be done for to get other element value in the report.