|
Or simply a link with target="_blank".
---
b { font-weight: normal; }
|
|
|
|
|
Good point!
|
|
|
|
|
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
Thanks,
I am not ask about the copy and paste the proj
For eg, If we installing any software to our system to additional with that do u want to instal this software, like that
if we installing the application the .net frame work also have to be install with this package (.net framework is nearly <25 MB only)
Also u told dont have the resx files if we didnt put the resx files the localization cannot be taken place
Regards,
Febin
-
|
|
|
|
|
chakkara2003 wrote: no need of installing the .net frame work in the production mechine
Of course you need the .NET framework to deploy a .NET web app
Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour
|
|
|
|
|
I have a listbox bound to a database server
I want that listbox to be updated when i press a button, whats the method to force a update?
Also
how do i open a new Browswer window in c#?
-- modified at 23:35 Wednesday 26th April, 2006
|
|
|
|
|
How do you bind data to the ListBox control? If you manage with your code instead of using a datasource control, then in the button click's handler you simply bind the updated data source to the ListBox to refresh the control.
|
|
|
|
|
How do i insert a variable into:
<%@ Register TagPrefix="Site" TagName="content" Src="header.ascx" %>
So that the value of src=variable.
|
|
|
|
|
I'm not sure you can.
As an alternative, you could have a user control that looks at an AppSetting in your web.config file and loads the desired user control; the "header.ascx" would be sort of a master control that loads the appropriate "xxx.ascx" file.
|
|
|
|
|
Just to flesh out my earlier suggestion with a sample - here would be a web form dynamicHeader.aspx , using the custom control -
<%@ Page Language="C#" %>
<%@ Register TagPrefix="site" TagName="content" Src="dynamicHeader.ascx" %>
<html>
<head>
<title></title>
</head>
<body>
<form runat="server">
<site:content runat="server" />
<p>
blah blah blah blah blah blah blah
blah blah blah blah blah blah blah
blah blah blah blah blah blah blah
blah blah blah blah blah blah blah
blah blah blah blah blah blah blah
blah blah blah blah blah blah blah
blah blah blah blah blah blah blah
</p>
</form>
</body>
</html> Then this could be the definition of dynamicHeader.ascx :
<%@ Control Language="C#" %>
<%@ Import Namespace="System.Web.Configuration" %>
<script runat="server">
void Page_Load()
{
string controlToLoad
= WebConfigurationManager.AppSettings["HeaderControl"];
Control uc = LoadControl(controlToLoad);
PlaceHolder1.Controls.Add(uc);
}
</script>
<asp:PlaceHolder id="PlaceHolder1" runat="server" /> Here are two user controls then, header1.ascx and header2.ascx :
<%@ Control Language="C#" %>
<h3>This is Header1.ascx</h3>
<asp:TextBox runat="server" />
<asp:Button runat="server" text="Search" />
<hr />
<%@ Control Language="C#" %>
<h3>This is Header2.ascx</h3>
<asp:Calendar runat="server" />
<hr /> And finally, you could then add either "header1.ascx" or "header2.ascx" in your web.config file:
<configuration>
<appSettings>
<add key="HeaderControl" value="header2.ascx" />
</appSettings>
</configuration> Does this help?
|
|
|
|
|
Greetings!
Need help on a service requisition system concept using asp.net and ado.net with monitoring (ip, network location, etc.) and tracking.
Thanx!
|
|
|
|
|
Sure - if it were me, I'd start here[^], with specific attention to #2.
|
|
|
|
|
can anyone give me the asp.net source code for inventory management system...
thanx in advance.
|
|
|
|
|
Do you really expect someone to sit down and program a complete system like that and hand it to you for free? And without any specification at all?
That's what your question sound like. If that was not your intension, you should ask a different question.
---
b { font-weight: normal; }
|
|
|
|
|
hello to all. I want to open a crystal report in PDF in new window. but when i click on the button, it opens in the same window. I can't use target=_blank over here, because i am writing code for generating the report in the button's handler, (or can i?) please help me in this matter.
|
|
|
|
|
There two options come to mind:
+ After you create the pdf report in the button click's handler, you can persist the document on the server side, then open the new page pointing to the pdf document.
+ Move your code to generate the pdf report to the page opened in the new window.
|
|
|
|
|
can you be more specific for first option? the code i am writing is as follows:
Dim report As New Doctormaster
Dim ms As System.IO.MemoryStream
ms = CType(report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream)
Response.ClearHeaders()
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/pdf"
Try
Response.BinaryWrite(ms.ToArray)
Response.End()
Catch err As Exception
Response.Write("< BR >")
Response.Write(err.Message.ToString)
End Try
|
|
|
|
|
Jmshastri wrote: ms = CType(report.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat), System.IO.MemoryStream)
Response.ClearHeaders()
Response.Clear()
Response.Buffer = True
Response.ContentType = "application/pdf"
Try
Response.BinaryWrite(ms.ToArray)
Response.End()
I mean once you have the report in the ms object, you can save this stream to file on the server side instead of writing it out to the output stream of the Response object. And what you might need to do next is to emit the client side script to open the new window with a link pointing to the saved file.
|
|
|
|
|
The following is code to open a new window from code behind. Put this in the event handler for button click.
Dim strPop As String = "" & vbCrLf _
& "window.open('crystalreports.aspx','Report');" & vbCrLf _
& "" & vbCrLf
Page.RegisterStartupScript("Pop", strPop)
-
बुरा जो देखण मै चला, बुरा न िमलया कोय,
जो मन खोजा आपणा तो मुझसे बुरा न कोय।
Translation
|
|
|
|
|
I m new to .net, i wann to know what exact session and how i can expire a session(forced expire,if i press back button and that old session should expire ) what should i do please tell any answer
vijaynathan
|
|
|
|
|
|
I have been asked to refine out corporate intranet (Asp.net with C# codebehind) and they have asked for more charts and visual components.
My question is "Is Dundas and DotNetCharting the only tools out there for this?" DotNetCharting is the less expensive of the two. But I wanted to check all my options before I commited to one.
Thanks
|
|
|
|
|
Try searching for your answer first... You know you are on a programming web site that does actually have this ability.
-- modified at 16:31 Wednesday 26th April, 2006
Maybe I was to harsh... here is some help...
CP search for "Chart -Dundas" in ASP.NET[^]
-Richard
|
|
|
|
|
Richard,
thanks for your reply. However I notice that there are a handfull of components being advertized on this site. My question was mearly to gather information from developers from this site to inform my self on the best solution for my project.
Thanks for your help.
|
|
|
|
|
I am an employee at Dundas Software who would like to give you my opinion on our product and the others. First, I’d like to answer your question, “Is Dundas and DotNetCharting the only tools out there for this?” Dundas and DotNetCharting are not the only component vendors. There are many companies that offer this type of tool and each with varying degrees of features and quality. .Now I’d like to talk about what things, in my opinion, are important in DV components.
The things I look for in a DV component are the following:
1) Time Investment / developer productivity
2) Robust Databinding
3) Performance \ Rendering speed
4) Visual Appeal
5) Intangibles (Tech Support, new releases)
Time Investment / developer productivity
Dundas Charts is not the easiest charting tool to use due to its extensive object model; we provide so many features that its hard to keep it simple. However, we do provide productivity helpers such as:
1) A chart wizard that sets you up with a visually appealing, databound chart in a matter of minutes.
2) Chart templates to ensure a constant look and feel across all your applications
3) An extensive sample set that provides code for you to re-use
4) Additional classes such as, Six Sigma and High \ Low Pass Filters, from our support site (http://support.dundas.com) to expand your charting experiences
5) Full integration into Visual Studio 2003 and 2005; after installation, the product appears in the Visual Studio Toolbox
Robust Databinding
This is the most important aspect of a DV component; after all, this is what charts are about. I want to be able to connect easily to various data types provided by VS Studio, e.g SqlDataReader, DataSet, DataTable, etc. It should be as simple as defining the data and then bind it directly to the chart, specifying what the X values and Y (or multiple Y) values are. Dundas Charts offers so many ways to bind to data; in fact, anything that implements the IEnumerable interface can easily be bound to the Chart.
Performance \ Rendering Speed
This is critical when vast amounts of data need to be populated into a chart over the Internet. Who wants to wait more than 5 seconds for a web based dashboard to be displayed? Dundas Charts was able to render about 170 charts per second on an AMD 64bit machine. Of course the complexity of the chart (e.g. color gradation, chart type) will affect the performance. What’s great about Dundas Charts is its proprietary FastLine algorithm made specifically for rendering large amounts of data points (hundreds of thousands of data points!) at break neck speeds. In our newest release, Dundas Charts 5.5, we are introducing FastPoint, as well.
Visual Appeal
Although the products mentioned above all do a fairly good job in regards to appearance. I would strongly recommend checking out our online dashboard demos at http://www.dundas.com/Dashboards/Samples.aspx, as well as our othter online galleries that can be found there.
Intangibles
The two most important intangibles to look for in a product: technical support and new releases. I think we both agree that technical support is one of the most important intangibles and should be a huge factor in your decision. Dundas Software has the biggest technical support team out there. You can reach us by telephone and \ or email. We usually have a response for you right on the spot for most technical questions. The real advantage with our technical support staff is the presales help we offer. Before you even make a purchase, we’ll answer all your questions with regards to the product. If you feel you need a more in depth demonstration of our products, you can directly reach any of your tech support staff via telephone or email. If it’s a complex need, we can even write you a fully functioning sample demo.
New releases are important. It’s nice to know that the DV component that you purchase will always be updated with bug fixes and new releases. Dundas Charts releases about 3 new versions a year, jam packed with new features based on client requests and things we feel would help make the chart that much better. For example, in our Dundas Charts 5.5 release, which is coming out soon, we have a new scrolling and zooming feature for our ASP .NET version. Using AJAX, you can zoom in to certain areas of the chart and scroll the chart, all over the web!
Final Thoughts
There are a few DV component tools out there. It really comes down to which competitor fits your needs the most. My final recommendation is to download all those products and to judge the products for your self. As well, be sure to contact support so you can gauge the component provider’s commitment to helping you as a customer.
Alexander Chiang
Technical Evangelist
Dundas Software
|
|
|
|
|
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
|
|
|
|