How to maintain Height and width of Datagrid control in Silverlight 4 ?
-
domenica 11 marzo 2012 20:50
Hi friends,
I was reading a tutorial and stuck in the middle of it. Please refer to the link for the article
http://code.msdn.microsoft.com/silverlight/Getting-Started-WCF-RIA-1469cbe2
Jump to the heading some where in the middle
Add Sorting/Filtering/Paging to the DataSource [Step 5]
I've implemented till this in my project. Link to my project is this
https://skydrive.live.com/redir.aspx?cid=7529e2a34bfa8106&resid=7529E2A34BFA8106!181&parid=7529E2A34BFA8106!107
The Problem is that I cann't be able to see the data pager and cann't be able to see the "Minimum vacation Hours filter" textblock along with textbox in the Employee list page when I run the project. When I run the project, datagrid fills from the database and stretches to fit the entire page. Please help me guys....
In order to run the project, you will need a Adventure_Works Database. Download it from the link below and add it to the project's App_data folder.
http://code.msdn.microsoft.com/silverlight/Getting-Started-WCF-RIA-1469cbe2/file/19245/1/AdventureWorks_Data.zip
Tutte le risposte
-
lunedì 12 marzo 2012 11:08Hi anybody Please help me...
-
lunedì 12 marzo 2012 23:06Please help me guys.....
-
martedì 13 marzo 2012 20:14
Atinesh, It sounds like your problem is in how you're presenting these elements, maybe placing your datagrid and your datapager in a stackpanel so the pager appears at the bottom or top, and checking how your textbox's are displayed, whether they're maybe within a grid cell that needs a Width="Auto" added to the column definition and things like that, maybe if you want to paste the code you're using to display these elements might help?
I think what you're running into here Atinesh regarding the lack of responses (and I'm going to be quite honest) is it appears you may be attempting to take on a project of a complexity which you don't yet have the fundamental experience necessary to accomplish without the help of others to essentially guide you through it...
The fact of the matter is that the majority of people in these types of forums are glad to help, but nobody wants to take on someone else's project for them. So when you start asking people (whom have their own projects to work on) to start loading up all your source, and correcting your lack of experience...well nobody wants to be rude, but nobody wants to hold someones hand either. If that's something you need, I suggest paying an experienced consultant for their time and attention.
My next suggestion is to learn more of the fundamentals first so your questions are more concise, instead of setting the tone of more a request to do your work for you... People are glad to help, but you can't exploit generosity my friend. Best of luck!
Please mark answers as helpful when used, and answered when completed.
- Contrassegnato come risposta Atinesh martedì 13 marzo 2012 21:48

