|
Yeah, in the C# - without the C# in the subject. I was reading the boards, looking to answer a few tonight, but the vast majority are "How do I...." and not "I've done this and that happened...". I don't know how you, CG and Luc (and a few others) keep trawling through and answering them without throwing huge amounts of sarcasm at them.
Credit to you all.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
|
|
|
|
|
Ok!!! I have
done webbrowser1.document.forms[0].RaiseEvent("onsubmit")
and nothing happened!!!
Why??
Or may be this way
mshtml.HtmlDocument doc;
doc = (mshtml.HtmlDocument)webbrowser1.document.domdocument;
doc.InvokeMember("function_invokes_when_form_submited");
abd nothing happened again!!???
Why????
|
|
|
|
|
Do you want the submit event to fire, or do you want the form to be submitted? 'Cause, you seem to be trying to simulate the former.
See here:
http://msdn2.microsoft.com/en-us/library/ms536771.aspx[^]
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- C hris L osinger, Online Poker Players?
|
|
|
|
|
Hi there
I would like to use a expanding panel on my page which looks just like the tabs at the top of mozilla or IE7, except that it runs down the page instead of across the top, and when a tab is selected it opens left to right, as if coming out of the left side of the screen. Preferably when it opens it should give a similar effect to the AJAX collapsable panel with a fade smooth fade in and out, or for those of you who have seen the XBOX360 interfaces tabbing system, then similar to that. The AJAX panel unfortunately only moves up and down. Does anyone have any code which they have used before to accomplish something similar or have a link to a tool which can provide this feature???
Any help would be greatly appreciated as I am out of ideas of where to look, or what to search for.
Thanks...
Dev
|
|
|
|
|
Why not just take the one you have - the vertical one - and modify it to display horizontally?
|
|
|
|
|
Are you inferring that I can take the AJAX toolkit collapsable panel and make it "open/close/fade" left to right, instead of top to bottom?
Dev
|
|
|
|
|
Worth a shot - if you don't have the code for it, then obviously that won't work. But if you already have something that's almost what you want, modifying it should be a good deal easier than starting from scratch.
That said, what you want isn't terribly complex; I'd suggest using a table (yes, a table) to contain everything, with the first column as the tabs and the second as the page. Within the first column, use links, styled with CSS such that they become block elements (and look like whatever you want "tabs" to look like), and with a click event handler to load the appropriate content into the second column. As far as animation goes, you can just use setTimeout or setInterval to trigger updates at, say, 40ms intervals, at which time you can expand the width of a DIV containing the new content until it overlaps the existing content (then just remove the old content). Or, just use an existing animation library such as Script.aculo.us or even jQuery.
every night, i kneel at the foot of my bed and thank the Great Overseeing Politicians for protecting my freedoms by reducing their number, as if they were deer in a state park. -- C hris L osinger, Online Poker Players?
|
|
|
|
|
Hi,
I've installed IIS and published a few pages for use in a LAN.
When i'm viewing the pages from the machine where the IIS is instaled (e.g. http://localhost/mypage.htm or http://servername/mypage.htm) I'm able to view all of my pages.
Howeve, when I try to view the same pages from another machine on the LAN (using http://servername/mypage.htm) I'm unable to gain access and receive an "page cannot be viewed" error.
How do I configure the IIS to allow access from remote computers?
tnx
Roy
|
|
|
|
|
It's already configured for this by default.
Do you have windows firewall activated on the computer? Have you allowed http for the connection?
---
single minded; short sighted; long gone;
|
|
|
|
|
1) Yes I do have the windows firewall on. Do I have to turn it off completly or can i do it partially, for instance only to the virtual directory of my web site?
2) How do i anable http for the connection? i'm not sure i know what you mean.
Tnx
Roy
|
|
|
|
|
royk123 wrote: Yes I do have the windows firewall on. Do I have to turn it off completly
No.
You could turn it off to quickly determine if that's the problem. Once you have done that, you turn it on again, and allow the specific traffic that you need.
royk123 wrote: can i do it partially, for instance only to the virtual directory of my web site?
No. The firewall blocks or allows certain types of traffic, like web requests. It doesn't care what url the web request contains.
royk123 wrote: How do i anable http for the connection?
Open the properties for the network connection, got to the Advanced tab, click on Settings... , go to the Advanced tab, select the network connection, click Settings... , enable the "Web Server (HTTP)" service. Click OK all the way out.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi Guffa,
Did everything as told and it's working perfectly.
Tnx & best regard
Roy
|
|
|
|
|
Is Anonymous Access for the Virtual Directory unchecked?
|
|
|
|
|
The default IIS setting is that it is allowed, and I didn't change that. Sould I disable it? What does it do anyway?
Roy
|
|
|
|
|
Hi all,
I am trying to create a datagrid to look like this pic below the data is stored in 2 tables the ScoutAssignment table and Match table, my initial plan is to use sql to all the scouts that have assignments for the selected week, build the table outline using this method, fill an in memory datatable with all the matches that have assignments during the week and loop through the original table (of scouts and dates) fillin the cells where the scout has an assignment……
but Im wondering if its possible to fill entire datagrid using sql or if anyone has any better suggestions or advice it would be appreciated
Thanks in advance
Tim
http://img168.imageshack.us/my.php?image=scoutassignmentscx2.jpg[^]
-- modified at 6:25 Tuesday 7th August, 2007
|
|
|
|
|
This sounds like a job for the GridView control. You can create a stored procedure that joins the two tables. Set the stored procedure as the selectCommand for a SQLDatasource and bind that SqlDatasource to the GridView control.
|
|
|
|
|
|
Hi all,
How to communicate an AJAX and SQL. I want to pass values directly from AJAX to SQL, with out any server side script(like asp,php). Is it possible to do so? If there is an option plz send me the link or plz guide me.
Thanks in advance
Know is Drop, Unknown is Ocean
|
|
|
|
|
No, you need something running on the server.
|
|
|
|
|
You obviously have no idea what AJAX is.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Everything you need to know about AJAX and more...
AJAX[^]
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
|
|
|
|
|
Hi,
Thanks for your reply. I think you use these kind of AJAX in your codeing. I am not an programmer like you to use those AJAX. So I am not going to use this AJAX.
Know is Drop, Unknown is Ocean
|
|
|
|
|
Hi,
i have placed few image files in webserver.When i am try to download them,they are unable download.Because the file name consist of word not allowed by the server.For example "Happybabe",here babe is not allowed,"stripout" here strip is not allowed.Do we have any tool that list ,what sort of words are allowed by webserver,or they are abusing word.
thanks in before
james
|
|
|
|
|
It's more likely that the filter is installed in the network that you are browsing from, than in the web server. Are you for example surfing from a school computer?
---
single minded; short sighted; long gone;
|
|
|
|
|
Hello
Please help me,i have saved both(big and small)of my pictures in the folder in my application,I have puted the small ones,what I want to do is when the user click the small one,the big one should open.
Please help me guys
|
|
|
|