|
Hi,
I have a problem. In one of my Asp.Net application i have to open a new popup window without using javascript.
Is it possible and if yes How?
Ashutosh
|
|
|
|
|
you can open a link in a new window
<a href="MyLink.html" target="_new">Open MyLink.html in a new window</a>
Downside is that you dont get any control over the settings such as menubars, scrollbars etc.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
-- modified at 11:49 Wednesday 26th April, 2006
|
|
|
|
|
The correct target to use is "_blank".
If you use "_new" you will open a new window with the name "_new". If it's left open any following links to that target will open in that window and not a new window.
---
b { font-weight: normal; }
|
|
|
|
|
good to know... Ive always used _new - but then ive never targetted that name subsequently so never seen the behaviour you describe.
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
No, Actually i want to open new window without using javascript through Code behind.
Is it possible that i click on a button/label and on code behind do some manipulation and open a new window without using javascript and RegisterJavascript all that?
If yesy then How?
Ashutosh
-- modified at 8:55 Thursday 27th April, 2006
|
|
|
|
|
Hi all,
I am trying to reload a treeview from a given start node passed to the page by session.
I have the following code in my page_load event
if (Page.Session["NavStartNode"] != null)
{
oTopics.iTTop_PK_ID =
Convert.ToInt32(Page.Session["NavStartNode"]);
oTopics.SelectOne();
LoadRoot(oTopics.sTTop_Name.ToString(), Page.Session[
"NavStartNode"].ToString());
tvMain.Nodes[0].PopulateOnDemand =
true;
}
The Loadroot sub is creating the root node and is working fine, but It does not take in consideration the "OnTreeNodePopulate" function. The node created does not have and child node and can't be expanded ...
This is driving me mad, please help.
|
|
|
|
|
After setting the PopulateOnDemand property of the root node, you can try to expand the node with the Expand method:
...
tvMain.Nodes[0].PopulateOnDemand = true;
tvMain.Nodes[0].Expand();
}
|
|
|
|
|
Hi Dz
I have developed a site for online sale/purchase of Vehicles(cars,motorcycles,aircrafts,RVs,Heavy Equipment etc). I put a Search Box on top of each page for General Search in addition to Advance Search(Search by selecting Vehicle's category,Make,Model,Year of Manufecturing).
In General Search Customer can type search text like....
Ford(Make)
Ford Mustang(Make,Model)
2000 Ford Mustang(year,Make,Model)
Ford Mustang 2000(Make,Model,Year)
Mustang 2000(Mdel,Year)
2000 Mustang(Year, Model)
Harley Davidson Ultra Classic(Make,Model)
Now I need suggestions that how I can I make my General Search more more efficient so that I can get only relevent records as well as dont miss any record matching criteria.
Note: I am using MySQL at backEnd with ASP.net(VB.net)
Thanks in advance
Lets work it Out.........!
|
|
|
|
|
SELECT Make, Model, Year
FROM MyVehicleTable
WHERE Make Like '%' + @generalSearchCriteria + '%'
OR Model Like '%' + @generalSearchCriteria + '%'
OR Year Like '%' + @generalSearchCriteria + '%'
I forget if you use parameters with @-symbol in MySQL; it may be something else, but hopefully you get the suggestion.
|
|
|
|
|
I have many textbox where user enters different number and I need to change them all in format ex. "45.82" or something like that and if the user enters 45,89 it need to change the number to 45.89 and if the numer is entered 67 -> 67.00 and so on.... i need it fast!! Thanks for advance!!
|
|
|
|
|
Use the Replace method to replace the decimal comma to a period. Use double.Parse or double.TryParse to parse the string to a number, and the ToString method with the format string "n2" to format it with two decimals.
---
b { font-weight: normal; }
|
|
|
|
|
use String.format({f:2},var) to get the decimal values to 2 digits.
|
|
|
|
|
Thanks!!! now it's working fine!!!
|
|
|
|
|
Hi,
This is the error that I am getting when attempting to send an email via asp.net 2.0.
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for username@hpadsds.org.uk
Any ideas please?
THanks
|
|
|
|
|
most imp link http://codebetter.com/blogs/peter.van.ooijen/archive/2006/04/05/142331.aspx
http://forums.asp.net/1131801/ShowPost.aspx
http://www.thescripts.com/forum/thread477848.html
http://www.vbcity.com/forums/topic.asp?tid=104166
just have a look on these links, may be it could help!
Good Luck
Enjoy!
|
|
|
|
|
|
How to deploy a web application to another system
The system have only IIS
So we want to add .Net Framework and the Application at the time of installation
My application also have some resource files(.resx) and one dll
Guide me pls
-
|
|
|
|
|
You only need to install the .net framework
After that, copy/paste the folder of your web application to the server, create a virtual directory for your web application in IIS, and that's it, it should work without problems.
.resx files are not needed for the web application to work, only the aspx files, images, .js files, .css files, all other content, and your bin directory with the web app's dll file.
That's it
daniero
|
|
|
|
|
how can i define an array with row and column???????
for example:
int[][] Deptor = new int[30][];
int[][] SumDeptor = new int[30][];
is it right???????????
|
|
|
|
|
|
Hello, I have a problem with my .Net Web Application.
I was developing with 2003, but I migrate my application to the 2005, and in my local machine I don't have any problem I can see my applivcation in the browser, but when I put my application on the server I have the next error:
(With 2003 I got not problem,neither in the server neither in my local machine)
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type '_GenerateProduct'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="GenerateProduct.aspx.cs" Inherits="_GenerateProduct" %>
Line 2:
Line 3:
Source File: /GenerateProduct2005/GenerateProduct.aspx Line: 1
I don't know if the proble is that i'm missing a dll, but I don't know where is the dll. Whith ASP.net1 .X was so easy, but I don't know where the ASP.net2.0 locates the dll.
In ASP.net1.X I had a bin folder with the dll inside. Can I configure the place where I want the .Net to put my dll?
Thank you in advanced
Sergi
|
|
|
|
|
Are you sure the server has 2.0 installed? If so, is your web application on the server configured to use 2.0?
|
|
|
|
|
Problem is when I add MS Office charting 10.0 component in toolbox it appears as disabled.
But when i add this comp. in the VS 2005's window version it gives no problem.
How do I use OWC10 office component in ASP.NET 2.0?
|
|
|
|
|
|
Hello,
I am a beginner in .net i have a problem with file uploading .my problem is i want to upload a word document into server's folder and the url is stored in the database.the platform i am using is asp.net 2005(c#).can anybody help me to solve this.
thanks in advance.
alex.
|
|
|
|