Hello Experts,
I am explaing with a exmple what I am trying to do.
Suppose there is a site abc.com and i am working for site xyz.com
in a aspx page of xyz.com i want to have the results of a aspx page of www.abc.com/somepage.aspx conatins a textbox , a combobox a option button and a submit button i want to fill this form and want to ...
Hi,
I'm asking this question out of curiosity.
I noticed this in my global.asax
void Session_End(object sender, EventArgs e)
{
// Code that runs when a session ends.
// Note: The Session_End event is raised only when the sessionstate mode
// is set to InProc in the Web.config file. If session mode is set to StateServer
...
We are currently hosting all our websites from a network share being served by two load balanced web servers.
If we try and incorporate Log4Net (Rolling file logger) into a project, as soon as it goes to these (production) servers Log4Net starts to complain about permissions on the log file. (Works fine everywhere except the production ...
Hi all,
We have a build a intranet application where users have to login to do certain tasks...
We have to make sure that no "application user" is logged in more than once at the same time.
So what I do at the moment is that I store the current asp .net session id in the database and then i compare at every page load wheter they are sa...
I need any free asp.net hosting (support access database or not) to test my website...
and thank you very much...
...
Hi, I want to create an XML file with folllowing header dynamically.
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitema...
We've got a fairly standard e-commerce scenario with paged lists of products within categories. For better or worse, about 80% of visitors never navigate past the first page, depending on the category there may then be 5-10 more pages of results which are viewed far less often. (Yes we do optimise what appears on the first page and have ...
I am trying to provide a UI in which we can Reorder the Elements in it. Say for example I have four Panels in a Table as Below
<table id="tblMaster" runat="server">
<tr id="trOne" runat="server">
<td>
Grid One <asp:Panel ID="pnlOne" runat="server">
<Kusek:DG Title="One" GridType=...
I have a module that uses multithreading. I want to store the number of threads to be created by the module in the web.config file.
What tag should I use?
...
Hi Friends,
I am working on a website, where user can upload photos of product they want to advertise.
I am saving photos in a folder on the web. In the table where I keep reference of photos, there is a key field photoid which is Identity field(primary key).
My repository has following methods
Photo photo = rep.NewPhoto();
photo.Titl...
I've built an ASP.NET application and noticed that my /App_Data folder contains two files: ASPNETDB.MDF and aspnet_log.mdf. They total about 10MB in size.
I'm handling security via an Oracle database and authentication mode = "Forms".
Why did these files get created? Is it safe to delete them?
...
I have a global header and footer that has a Database connection and a disconnection in the header and footer and need to convert this to ASP.NET - this needs to be done before any HTML is output and after any HTML is output for the footer.
I cannot seem to find any easy way to do this, like in Classic ASP - if possible post an example o...
[ExternalException (0x80004005): A generic error occurred in GDI+.]
IpitchitImageHandler.Data.ImageRepository.AddNewTempImage(Stream image, String extension, Guid PageId, Guid ImageId, ImageTransformCollection toDoTransforms) +1967
IpitchitImageHandler.Data.ImageRepository.AddNewTempImage(Stream image, String extension, Guid PageId...
So, I have a GridView with an ObjectDataSource, and I want to programmatically set one of the SelectParameters of the ObjectDataSource.
I tried (during both Page_Load and DropdownList__SelectedIndexChanged)
objectDataSource.SelectParameters["my_parameter"].DefaultValue = "my_value";
objectDataSource.DataBind();
but it didn't work. Wh...
I know it's possible to use validators to check data input in the presentation layer of an application (e.g. regex, required fields etc.), and to show a message and/or required marker icon. Data validation generally belongs in the business layer. How do I avoid having to maintain two sets of validations on data I am collecting?
EDIT: I ...
Flawed as I am, I've received some unneeded help in creating errors in the form of Visual Studio 2008 adding incorrect code to a .designer.cs file. I appreciate, it is probably doing this because of my omission or error - but I will use the excuse that I am in actuality a fledgeling ASP.NET developer so I'm still learning.
The relevant ...
Do most people use .NET's SqlMembershipProvider, SqlRoleProvider, and SqlProfileProvider when developing a site with membership capabilities?
Or do many people make their own providers, or even their own membership systems entirely?
What are the limitations of the SQL providers that would make you roll your own?
Is it easy to extend t...
hi ,
i want to maintain user control state accross two to three pages,
how can i do it?
that two to three pages have same user control(with out session)
flow
i have two pages one for listing page ,whaen clicking on any listing goes to detail page so with these two pages left side i am using search user control.
...
Hi,
I want a web service to load an .ascx control, load some values in it and then return the HTML content of this control. I have something like that:
[WebMethod(EnableSession = true)]
public void GetHTML()
{
UserControl loader = new UserControl();
MyCustomReport reportControl =
(MyCustomReport)loader.LoadControl("~/The...
I want to preserve a property between postbacks in an ASP.Net application. Currently doing this:
public int MyIndex
{
get
{
return (int)Session[ToString() + "MyIndex"];
}
}
but would prefer something like:
public int MyIndex
{
get
{
return (int)Sessio...