|
|
Hi...
I have some problems regarding about C# web application. Now, i need to design a web page where you can select the icons and link to the page you selected. I was assigned that i need to use .ascx file to design the web page. Anyone who has done using ascx file to design a web page and link to aspx file, can share with me the website you done it and how did you do.. Or any website which you think might be helpful to me.
Thankz..
Thankz =p
|
|
|
|
|
|
I have Simple HTML FORM with SEVERAL submit buttons (have different behavior of this form processing). How Can i handle with them ? How can i see in my PhP (CGI) script, which button was submitted ?
Thanks in advance !
|
|
|
|
|
Hi
You can Define your submit buttons as following
<input type=submit name=act value=do1><br />
<input type=submit name=act value=do2><br />
<input type=submit name=act value=do3>
then in your PHP code check like this
switch($act )<br />
{<br />
case "do1":<br />
break;<br />
case "do2":<br />
break;<br />
case "do3":<br />
}
depend on the submit button has been clicked, the value of act will change.
Iman Ghasrfakhri
|
|
|
|
|
you can do in another way too. You may have different forms for each submit button.
If you have some common values for each forms then you can use javascript function for getting that value. You can pass different action case for each button.
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my answer is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
I've downloaded PHP and installed it, but it doesn't work. If I make a file with a .php extension it still opens in an editor
Its like it doesn't regognise the extension.....anyone help?
|
|
|
|
|
Hi
Wow PHP! congratulation
It seem you are using IIS, you most add .php extension to IIS configuration, & tell IIS to opne .php file with c:\php\php4.exe (depend on your PHP version & installation path).
If you want to use php & does not need ASP, I suggest to use Zend Studio Server with Apache, or if you want to use IIS use Zend Studio Server on IIS ,It enable Debuging & some othere features. you can fined in in http://www.Zend.com[^]
Iman Ghasrfakhri
|
|
|
|
|
Are you trying to run the PHP script as CLI or HTTP???
Look into using phpDev[^]
It's a complete easy to install web server setup...
MySQL, PHP and Apache ready to go...
Then you can access your PHP scripts via your browser of choice by using your localhost or loopback address..
http://localhost/index.php
And it runs like it would on the internet
HTH
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
You can do one more thing that if you have done all things with changes in IIs,
You can just do right click on the php file, select php editor and check that always open in.. checkbox. Now press ok and you will get your file in that php editor only.
I know it's a silly answer but sometimes this silly things left from powerful mind.
--------------------------------------------------------------------------------------------------
Hiral Shah
India
If you think that my answer is good enough and can be helpful for other then don't forget to vote.
|
|
|
|
|
Hi
I wana my website's users be able to invit the peoples are in thire address book in Gmail or Yahoo! mail Like Ringo.
Please tell me how to do that or show me a point
Thanks
Iman Ghasrfakhri
|
|
|
|
|
Hello
I have a serious problem with mozilla firefox browser and it's all about AJAX,
Actually i have a web service which i consume using the AJAX and the web service
is on the same server of the web site with the same domain, and the consuming was
working fine when the service was running locally but when i uploaded it on the web
server and started to consume it using AJAX, I had the following error in firefox:
"permission denied to call method xmlhttprequest.open"
Can anyone helps me please, i need help urgently.
Thank you in advance.
Mahmoud Tahoon
|
|
|
|
|
Post the smallest bit of code that you can get to exhibit the problem.
|
|
|
|
|
Hi guys!
I'm developing my first web service, have stumbled a little and was wondering if anybody can offer any suggestions.
I've setup an autogenerated managed C++ web service using visual studio .net....I'm exporting and can use basic methods from the webservice without any problems.
What I really want to do is get my web service method to call methods on a COM object I've written. I've used this COM object many times from managed C++ without any problems by accessing it via an assembly that was generated using tlbimp.
Any web service method that attempts to instantiate my COM object fails and returns an error 500 to the client browser.
Basically, this works -
String __gc* MyWebClass::FindAddress()
{
return S"Address Not Found";
}
but this returns error 500 -
String __gc* MyWebClass::FindAddress()
{
SimpleATLObjectLib::TesterClass *myTester =
new SimpleATLObjectLib::TesterClass ;
return S"Face Not Found";
}
I'm assuming my problem is something to do with security, some IIS setting or the assembly/COM .dll files not being in the correct place but am having trouble figuring out whats going on.
Could anybody make any suggestions?
Thanks in advance!
David
|
|
|
|
|
Presumably you have referenced the com object...
Can you not just debug it, catch the exception and see what it is?
MCSD(VB6/SQL7)
MCAD(C#/SQL200)
MCSD(C#/SQL200)
|
|
|
|
|
Hi,
I've been browsing for about a couple of hours now and can't find exactly what I'm looking for so I thought I might as well ask.
I'm looking to find a way to download multiple files using html, specifically a way (script) that when a user checks multiples files and hits a download button, the files will be copied to their hard drive. (Best example of this is streamload's download manager)
The thing is, it's to be run off a cd, so I can't use php, or something similar that requires access to the internet. Anyhelp would be greatly appreciated! Thanks.
|
|
|
|
|
Using JavaScript, you could dynamically write multiple IFRAMES to your HTML page and set the SRC attribute to the files that you want to download. Then, if they don't get opened by some wacky plugin, the browser will prompt the user to download them.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
i have a webservice under C:\Inetpub\wwwroot\RetrieveData\ now i want this web service create a txt file under this folder i have changed the permission of this folder to write as well, but still when i run this webservice i get a exception which is C:\Inetpub\wwwroot\RetrieveData\ the path is denied! how to solve this problem ? pls help me! thank you very much!
I am Entry level person
|
|
|
|
|
dont cross-post....
<< >>
|
|
|
|
|
I'm somewhat new to web development (from the C++/ATL/COM world) and recently inherited a project that was half complete. The function in question is generating XML for output. My predecessor had created a window with a literal "aText" to display the output XML. If I have a small amount of text, then it is displayed, however, when I have a large amount of XML it will not display.
Is there a maximum length for a literal field? Is there a better way to display this? My XML is formatted with with CRs and LFs. Is this the problem? If so, I would think I might at least see the first line.
Here's my C# code.
public class GenXML : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Literal aText;
private void Page_Load(object sender, System.EventArgs e)
{
...
string sSuccess = PermObj.GenerateXML(Convert.ToInt32(sAdminID),
Convert.ToInt32(PermLibrary.GetLicenseID()));
aText.Text = sSuccess;
}
}
...and the calling JS code which displays the results.
window.open("GenXML.aspx", "popwin","height=500,width=600,scrollbars=yes,screenX=40,screenY=40,top=40,left=40");
...and the HTML from the page
</HEAD>
<body onload="PopAlert();" onblur="window.focus();">
<br>
<center><b>CHANGES HAVE BEEN SAVED.</b> <input type="submit" onclick="window.close();" value="CLOSE">
<br>
<br>
<asp:Literal ID="aText" Runat="server"></asp:Literal>
<br>
<form>
</form>
</center>
</body>
Anything obviously wrong here?
Some people see things that are and ask, Why? Some people dream of things that never were and ask, Why not? Some people have to go to work and don't have time for all that ...
Author: George Carlin
|
|
|
|
|
Hello,
I am trying to add data from two different Access tables and have the sum post to a web form that I created in asp, I want to add the data from different columns. Can some hlep me.
|
|
|
|
|
Hi there,
I have a page which consists of two fixed width floating divs as shown in the code below:
#MenuBar
{
float:left;
margin:0px;
background:#8C8C8C;
width: 240px;
}
#Content
{
float:left;
padding:0px;
margin:0px;
background:#fff;
width:700px;
}
That works fine. But what I'd like to have is that those divs fill up vertically 100% of the available space, eventhough there is not enough content in the divs. Is there a way to do that? Please note, that I have another div at the bottom of the page (the footer).
Any help is greatly appreceated.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
|
|
|
|
|
try
height:100%;
inside your content style
[edit]nevermind, doesn't quite work[/edit]
BW
Meanwhile, behind the facade of this innocent looking bookstore...
-- modified at 23:38 Friday 4th November, 2005
|
|
|
|
|
Can somebody show/tell me how this can bee done using .net
|
|
|
|
|
Spaz80 wrote: Get MAC adress using SSH
Can u explain more??? U mean get MAC address using SSH protocol???
<< >>
|
|
|
|