|
|
No this is wrong.
This will display a message box on the server and will not be visible by them client.
Javascript is the way to go
|
|
|
|
|
System.windows.forms.messagebox.show("Hai")
cant disply a msgbox through this command.Also it generate error in my error because no namespace available for "windows" in asp.net
Chohan
|
|
|
|
|
Hai,
I have created a Horizantal Drop down Menu using HTML and JavaScript in my WebApplication(like Infosys menu).Its working.When the mouse over to the main menu the submenu will be displayed and when the mouseout event occur the menu will be hided. I have Drop down combobox and Listboxes in the page.The problem is ,I am placing the mouse over the main menu and the submenu is displaying but the controls are displaying above the menu item. The submenu is displaying below the controls.
I need the controls below and the menu above.To solve this,I changed the visibility of controls to hidden at mouseover event and changed the visibility true at mouseout event.It is not working good. ie,It is fliggering when moving the mouse over the dropdown submenus.
I understand the problem that is when event changes from mouseover to mouseout this error happens.....
I have also changed z-index but i did not get.
Please give me the solution with some codes..........
Thanks....................
Thanks in Advance
|
|
|
|
|
Hello,
I have an existing page that asks for a customer's US phone number. Unfortunately, the field is set up to only accept entries in an unbroken number string, i.e.
6178899923
instead of
617-889-9923 or (617) 889-9923
How might I set up the field to accept phone numbers in one of these formats? I don't care as much how the number is stored in SQL, rather I want to make it easier for the customer. The unbroken string would be confusing to a US user. For reference:
<tr> <br />
<td width="110" class="content"> Phone <br />
</td><br />
<td><input name="sphone" type="text" id="sphone" size="20" maxlength="15" style="BACKGROUND-COLOR: lavender" value="<%=sphone%>" /></td><br />
</tr>
Thank you very much.
|
|
|
|
|
Hi Nostromo77
use ASP.net "RegularExpressionValidator" control and set the property
ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}"
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
Hi friends,
i am using aspnetdb database for the security of the application in asp.net 2005 . I want to store password in clear text format when i am creating a user not as encrypted password how can i achieve this
regards jabbar
jabbarsb
|
|
|
|
|
|
i created a very simple webpage by aps.net in localhost, just wanna ask , can other ppl visit my page through IP? how to do tat? thanks a lot~
|
|
|
|
|
People on the same network or who have access to your machine(via vpn or if you have a static ip) can access the page via http://MachineName/AppName or http://yourip/AppName
Tarakeshwar Reddy
MCP, CCIE Q(R&S)
Experience is like a comb that life gives you when you are bald - Navjot Singh Sidhu
|
|
|
|
|
thx a lot
|
|
|
|
|
Hi! is it possible to give blinking effect on the values of a column of a datagrid?
|
|
|
|
|
Hi,
Can anyone plz tell me how to use XMl SChema.Me a Beginner in Xml ..
the exact requirment is ....
I have to store the textbox values from ASP.NET in to a XML file using XML schema.
hope u guys vl help me to solve this..
Thanks in advance..
Regards
Bino Varghese
|
|
|
|
|
Hi all,
I have created a simple ASPX web page using aspx 2.0 and C#.
When I was designing it was working fine, but now i have copied the website in inetpub\wwwroot folder. No when I run using IIS server its giving error;
Compiler Error Message: CS0246: The type or namespace name 'Class1' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 17: protected void Button1_Click(object sender, EventArgs e)
Line 18: {
Line 19: Class1 c = new Class1();
Line 20: TextBox1.Text = c.name();
Line 21: }
I cant understand that why its not finding the classes. All classes are in App_Code folder.
Any one could please help me.
regards,
Haseeb Mukhtar
|
|
|
|
|
coldice111 wrote: I cant understand that why its not finding the classes. All classes are in App_Code folder.
All your code behind and classes get compiled as a dll which goes into the bin folder. Efectively your wwwroot\SampleApp folder would contain a SampleApp.aspx and a bin folder containing SampleApp.dll.
Tarakeshwar Reddy
MCP, CCIE Q(R&S)
Experience is like a comb that life gives you when you are bald - Navjot Singh Sidhu
|
|
|
|
|
Hi thanks for your reply,
I tried that too, but its then saying that dll file not found.
|
|
|
|
|
In the Build menu you will find Publish Web Site. Use that to create the files that you can use to publish the web site on the server.
---
It's amazing to see how much work some people will go through just to avoid a little bit of work.
|
|
|
|
|
hi,
how to get the screen resolution in .net 1.1 in a web application
thanks
|
|
|
|
|
function ScreenGoToURL(Big,Medium) {
var screen_height = screen.height;
var screen_width = screen.width;
var buffer = (document.all || document.layers ||documentGetElementByID) ? 30 : 48;
if (screen_height >= 768) {
screen_width = 1024;
screen_height = 768;
var window_width = 1024-12;
var window_height = 768-buffer;
var window_top = 0;
var window_left = 0;
window.open(Big,'','resizable=no,status=yes,width= ' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + '');
} else {
screen_width = 800;
screen_height = 600;
var window_width = 800-12;
var window_height = 600-buffer;
var window_top = 0;
var window_left = 0;
window.open(Medium,'','resizable=no,status=yes,wid th=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + '');
}
}
|
|
|
|
|
hello pals
i have "windows 2000 advanced server" installed on my PC.
when i m opening IIS from administrative tools,It shows me
"The service did not respond to the start or control request in a timely fashion".
When i go in services i found that my "IIS admin service" is not yet started and so SMTP and NNTP.Also when i m trying to start "IIS admin service", i got the same error.
I also examine the "application log" from the "event viewer".And found that "Session Idle Timeout over"......
how to resolve it...
plz understand my problem and give me the proper solution ASAP.
|
|
|
|
|
I have create a class called settings to store site settings that are needed in various usercontrols. In my page_load of my web page (webform1.aspx), I am setting the properties for this class. I have also created a few webusercontrols that are being added to the webform1.aspx page. However, I am not sure how to access the settings class with the set values from within the webusercontrol. The webpage and usercontrols do not share a common base class.
|
|
|
|
|
To clarify...
I want to create a class that will hold setting values and I want this to be accessible/common with the webform and the usercontrol. The values would be set in the webform, and when the usercontrol is added to the webform, it will retrieve the values needed from the common settings class.
|
|
|
|
|
Dear all,
i am quite new to dotnet. I am making web application using C# and asp.net(Visual studio 2005).
Currently i making customer master where based Customer code that is whether it is available then populate otherwise insert.
I do not have problem in inserting new customer details. I wrote code in txtcustcode_changed event(As i am populating new customer code in page_load ) that check whether code exist or not.but in text changed event. text id which it fetches is not the changed text code. How i can make such thing. please guide me.
any better approach,would also be appreciated. please suggest me
regards
imran khan
|
|
|
|
|
Hi!
I m facing a problem using asp.net with oracle8i.
I have Oracle8i and asp.net1.1 framework on a same server. Though the Connection is getting established.
But its showing "TNS PACKET WRITER FALIURE" when fetching data..
However it worked when i separated the database server from the application server..
If any one has the solution. so that i may use same server for both database and application
Thanks in advance..
Pranav
|
|
|
|
|
I am using content and master pages. The content page has to query the database to get the master page name (among other things), which is done in ‘Page_PreInit’, and then the master page has to query the database to get some layout options, done in ‘Page_Load’.
Is it possible for the master page to use the existing open connection, or am I forced to close the connection in the content page and open up a new connection in the master page? I’ve tried various things without success.
The second question is, does it matter? Will opening and closing two connections be much slower than opening and closing one?
|
|
|
|