I want create a button option that takes the entire datalist and converts it to a pdf file. As anyone done this in asp.net ? Please can you show an example or direct me in the right way, thanks. God Speed
...
Hi all,
I'm currently migrating a .net 1.1 application to .net 3.5.
The .net 1.1 application has a number of number of page + usercontrol's that I would like migrated to masterpages.
My issue is trying to test progmatically to see if the masterpage's contentplaceholders content has been overridden by a child page.
Is it possible...
Hi,
Am a newbie to asp.net
I've an asp.net page which uses a user control.
On Page_Load event of this control,I want to change the title of parent aspx page.
Need help on this please.
...
Hello! I am looking to create a lightweight, heavy traffic, db site. It will be standard 3 tiered architecture in asp.net. Part of this site is web-based, but most of the functions will ideally be available on mobile devices, also.
That being said, I know that web services is the classic answer for this, since I can access a web service...
I have the following code which re-uses a CookieContainer which logs in on the first request, but just uses the cookie container for requests after.
After a period of time if idle the site will give a Session Timeout, I will need to perform the login again.
Q: Can I determine (with the cookie container object) if the timeout has happen...
I have some user controls that I want to add some client side functionality to.
Let say 1 control has a hidden field and a bunch of checkboxes. When a checkbox is checked, it sets the hidden field to 'YES'. How could I $get that control in the hosting control or page, and call some function on it that would return the value of that hi...
I have a presentation web farm with four load-balanced servers. I have one web application with two website domains that represent that application. Rather than constantly push to two different folder locations, I figured I can push to one location and have a virtual directory on each website point to the single folder on the webserver.
...
What are the valid values for the eventName attribute when configuring Health Monitoring?
<system.web>
...
<healthMonitoring enabled="true" heartbeatInterval="0">
<providers>
<add
name="exampleMailWebEventProvider"
type="System.Web.Management.SimpleMailWebEventProvider"
to="[email protected]"
from="erro...
I can get an UpdatePanel control working(partial postbacks) no problem with a new fresh .net 3.5 project. I've overcome many of the pitfalls that are answered here on this site. (scriptmanager on the page, using triggers, or placing the button within the panel itself.)
If I have try to use the UpdatePanel on a project that was origi...
Hi,
I am using WebDateChooser in my .net application...by default the Date Chooser shows Current date,so that we can choose any date 10 years before the Current year and 10 years after the Current year...but i dont want to show the future date in the WebDateChooser.
Is there any property to set the Maxdate as current date
<igsch:WebDat...
I have developed my project in asp.net 3.5. It works fine in localhost, when i published in the web sometimes its working fine but sometimes i am getting the following error. I think some error while conecting to the server but dont know exactly. Please help me to do it fine.
Server Error in '/' Application.
Object reference not set to...
If you want easy access to the MasterPage properties etc in ASP.Net you can set the MasterPage TypeName in the head of the aspx page i.e.
<%@ MasterType TypeName="_Master_Content" %>
But How do you do this via the code file?
...
I have a login screen wheren i have 2 text boxes and 2 radio buttons.I have a ASP.NET button too.When the user clicks on the button in my codebehind, in the click even of button ,i have the below lines to check the user login
string emailId=txtEmailId.Text.Trim();
string password=txtPassword.Text.Trim();
//Code to Check use...
Hello,
i've been using C. Coller's excellent CopyAsHtml-Visual Studio addin for copying C# code as html to a webpage.
Now, i started to wonder if there exists a similar tool for converting the aspx-markup to valid html to show on page? Functionality that i'm looking for can be seen on G. Houston's blog.
F.ex. if i feed this
<asp:But...
Hi, I've posed this problem previiously also here. I'm facing same type of problem again. I've a user control that shows information from some business object. I'm already using it on two pages. In both the pages I call a method with business object to bind controls (mostly asp labels) on user control to object's properties. I call this ...
I need a variable that is available from any function in my code, but is different to all users.
so i wrote:
public class classedelcappero
{
private string frasehiragana = String.Empty;
public string ohiragana
{
get
{
return frasehiragana;
}
set
{
frasehiragana...
I am making an EventLog which will log the transaction log in my website. The details of the log will include the Public IP from where the transaction has orginated and also the local IP address (under the public IP).
I have found ways to obtain the Public IP Address, but i am unable to find out the local IP or machine IP from where the...
I have a web application, which has a user control and web page logic to be used on multiple web applications. The reason I want to do this is that I want the other web applications to reference this one since the html/css of their web pages varies.
First of all I wanted to ask if this is possible since it is a web application and not a...
I made a page where something entered in a TextBox, is displayed "as-is" on a Label control
Since i am a beginner, I just made:
Label1.Text = TextBox1.Text.ToLower();
Is this dangerous?
I tried something but it seems that Label controls only takes text, i i felt confident that is safe
Maybe is dangerous if the user will insert some ...
Hi,
I am trying to build an editable tree hierarchy similar to treeview control only with the ability to add, remove and rename documents aswell as the ability to view them.
Anybody recommend a good way of doing this? I am a PHP person, fairly new to .NET so any help would be greatly appreciated.
Thanks,
Sean
...