|
Interesting.....I can see it fine.
I have no clue what's up on your end
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
What browser are you using. I tried on IE8.0 where it shows msg box, loggedin people, but no textbox where msg is typed.
But, if I launch it using Firefox3.0.11, the page is completely blank.
|
|
|
|
|
deep76 wrote: What browser are you using
Firefox 3.0.11
I see a blank page when I launch the web app, which as far as I can tell
from a quick look at Chatroom.aspx (the default page), shouldn't be blank.
So instead of debugging that, I just (on the blank page) change "Chatroom.aspx"
to "Silverlight2ChatTestPage.html" and that one shows the silverlight app.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
deep76 wrote: if I launch it using Firefox3.0.11, the page is completely blank
In Chatroom.aspx, change the body to this
<body style="height:100%;margin:0;">
<form id="form2" runat="server" style="height:100%;">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div style="height:100%;">
<asp:Silverlight ID="Silverlight1" runat="server" Source="~/ClientBin/Silverlight2Chat.xap" MinimumVersion="2.0.31005.0" Width="100%" Height="100%" />
</div>
</form>
</body>
and it shows up like it should.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Thank you. It works now.
|
|
|
|
|
While it's great that you got help from Mark, you really should have posted this on the forum for that article. You don't post article questions in the general forums, because you are going to cause problems for other people who have the same issue with this application. If the questions and solution were in the forum for that app, then others could see how it's been resolved - now, they are on their own; not knowing that this issue has been solved already, and it's not an intuitive step to go searching the other message boards looking for a solution.
In future, if you've got a problem with an article, post your questions with that article and give the author a chance to get to know what problems they have.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I saw the discussion link on that article and it has a question where user says 'can not have it running' but no one answered it. So I tried this forum and got help. Will remember your suggestion next time. Thanks to Mark for helping me.
I am a beginner trying to learn.
|
|
|
|
|
hi ...
with reference to my other question of moving dynamically created rows up and down, i have to copy the values of the selected row into a another dummy row and later that into the grid ,..
else
is there any way i can insert a new empty row and copy a row and later delete it... i guess its confusing let me explain.....
>row1 consists of lots of controls like textbox,checkbox etc
>[up] is a button
> [down] is a button
------------row1----- [up]----[down]---------
-------------row2------[up]----[down]---------
-------------row3------[up]----[down]---------
please consider these three rows as the rows of the grid, now if i want to move the row3 up,i insert a new row between row1 and row2
-------------row1----- [up]----[down]---------
-------------NEW ROW-- [up]----[down]---------
-------------row2------[up]----[down]---------
-------------row3------[up]----[down]---------
then copy the values of row3 into the new row.....
------------row1----- [up]----[down]---------
------------row3----- [up]----[down]---------
------------row2----- [up]----[down]---------
------------row3----- [up]----[down]---------
then delete the third row...
------------row1----- [up]----[down]---------
------------row3----- [up]----[down]---------
------------row2----- [up]----[down]---------
i dont even know if it is possible.... i would be more than grateful if someone can help me out!!! im very new to WPF
hey thanks a lot in advance....
|
|
|
|
|
The best way to modify your rows, is to use an ObservableCollection and to modify the data source.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hmmmm..... i tried out observablecollection....
it does work (sort off).... i mean the row move up and down... but only in the view.... as i have been using indexs to point out a single row, and if i move the first row to the grid to the second line the [up] button of the previously first row that had been disabled (the up button of the first row and down button of the last row are disabled) stays disabled....
so i land up in the great index mess where now my row2 which is on the top has both its up and down buttons enabled and my row1 has no up button!!!!
hope i didnt confuse u..... please help me out....
|
|
|
|
|
Please let me know are you using any itemsource for grid or doing through code behind can you explain XAML part of Grid:
Ex:
Controls1:XamDatagrid x:Name="LstCompRelationship" ItemSource="{Binding ContactJobFunctions}"
then it would be easy to give answer accordingly.
|
|
|
|
|
Hi,
It is possible to have a common class for two windows? i.e is it possible to have the event handling code common for both the windows as my windows are almost alike.
Thanks
|
|
|
|
|
If you follow a pattern such as MVVM, this becomes remarkably trivial. Take a look at my article here[^] for code that behaves in just this way.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Hi,
I am student working on a project for making a neural network simulator in IIT Bombay.
I have to create an application which takes in data from a windows form and then creates a network. The network is depicted in terms of spheres and links between them. Basically a neural network. To take in the 3D objects and making it move according to camera is possible in Expression Blend. But i have to take in the input from the windows form. i.e. i want the alter the network design by user input.If the user adds a unit a sphere is created on the screen(the network window). Can any one please suggest me if its possible and if yes how can i merge the 2 applications???
|
|
|
|
|
Is your 'windows app' a WPF app ? It needs to be.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Suppose, I opened my Main Window and from that I opened another sub window.
Now on click of the submit button inside my subWindow .... I want to change some properties which are available on MainWindow. How can I pass values from my sub window to the main window or viz...
I didn't find the stub.... Can anyone please help me ASAP?
Waiting for that...
Regards,
- Kunal Chowdhury ( My Blog)
|
|
|
|
|
A simple way to do this is have a class that contains the properties that you want updating, and then expose this as a property in your window. Assuming you're using binding, all you need to do then is update your main window model with the values in this class (assuming you're implementing INotifyPropertyChanged to notify that the property is updated, and hence trigger a refresh).
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
well herez the scenario... i have a grid in wpf,n a add new row button, which generates a new row with a few controls like textbox,check box few buttons ,,,,,, am suppposed to add a "up"button and a "down" button.....which moves the row up or down by one level... n obviously the first up n last down button are disabled.... i have done upto this point, am even eble to retrieve the row number of the button i click... but after dat im lost... how do i swap a whole row??? please help... and thank you.... in advance!!! im having troubles with the indexing... im new to wpf....
have a great day
|
|
|
|
|
OK - if it's an observable collection, then you can just swap the items in the collection and the control will update itself. Otherwise, I guess you need to copy a whole row, or swap values between rows.
and like I said in the C# forum, this is a programming forum, not a meeting place for punk rap wannabes. We don't mind people who struggle with English, but 'dat' is not a word, nor is 'herez' or 'n'. n is a letter. You have a full keyboard, so use it.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
i apologise for my language... as i was in a hurry i typed the message as i text it... i had not realized it until you pointed it out,...
and thank you for your suggestion i will try it out....
(is my language ok now!!!!)
have a great day....
|
|
|
|
|
*grin* a lot of people fall into text speak, but this is not the place for it. The ObservableCollection should solve your issue, but if it doesn't just post again if you're still stuck.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
hi ,
well as for copying the row into another new one there are so many validations to handle, (i think)... i am very new to wpf, and so can u please tell me a easy way to do it...
thank you (in advance)...
have a great day....
|
|
|
|
|
Christian Graus wrote: this is a programming forum, not a meeting place for punk rap wannabes
Yo homey - don't be dissin'!
Peace out,
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
hello I used Wpf.Themes library from CodePlex
in My Application
When I apply a theme every thing works well except that when I open a new Window
It appear empty for the first time !!!!!!!! without any control
until I move the window to other position in screen the window Update its Layout
why's that I watched the OutPut Window and Found the Exception that thrown to the
Application and Iused to write it to the Application Output .
what ever this is the Exception and its inner Exception
could you tell how can I solve it or any usefull link
Error : Cannot animate the 'Visibility'
property on a 'System.Windows.Controls.Border'
using a 'System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames'.
For details see the inner exception.
--Inner : The animation(s) applied to the 'Visibility'
property calculate a current value of 'Visible',
which is not a valid value for the property.
You have To Search About The Truth Of Your Life
Why Are you Here In Life ?
|
|
|
|
|
Hi,
I am working on a application in which I have to get the images attached to mail of a particular mail Id. I came to know that that we can access a Email Id by using Pop3. In this we should be able configure any mail server Email Id.
If any one have any idea on this please reply me. If you have any idea to do this in WPF or Silver or both please reply me.
Thanks in advance.
|
|
|
|