I have a simple html table tag with 2x2 cells on my ascx.
There are two textbox control inside.
I wrapped the table by a ajaxPanel.
Outside the ajaxPanel, I have a button, and onclick event will set the value of two textbox to "1".
But after click the button, I found the value is set with postback.
Please advice~
...
Hi everyone.
I am new in asp.net 2.0 My question: I created one asp.net website and hosted it by getting domain and one of my client ask me to post his 3-4 asp.net pages as a sub domain of my main domain, so can anybody expain what to do and if there is any coding please expain me in detail.
Thanks in Advance,
Regards,
s.venkatesh.
...
I have 5 tables in a L2S Classes dbml : Global >> Categories >> Sub-Category >> Item >> Item Data. I want to be able to navigate from the Global table down a tree like structure to get to the items - displaying the title from the Item Data table.
I have an existing control that uses a IHierarchyData / IHierarchicalEnumerable extended co...
The company I work for has decided to join the 21st century and upgrade our main database cluster from SQL Server 7 to SQL Server 2005. As a web developer what new whiz-bang features of SQL Server 2005 should I get excited about or get to know?
Currently I'm mainly writing CRUD style queries, pretty much exclusively using Stored Procdur...
Hi All
Is there an easy way to log all exceptions in an ASP.NET application? I'm already logging unhandled exceptions through the Application_OnError event, but I want to perform logging even when an exception is handled on a page level.
Many thanks.
...
how can i change the css attribute value at runtime like all h1 color="blue" and all p color="green". if anyone know it please help me!
...
Hello.
I'm using Structure map and want to inject instance (constructed by container) into controller's property. Instance should be named and stored in http session context container.
In the previous version of my application I've used custom DI framework and it was easy enough to make such things:
public class MyController : Controll...
Hello,
I have this code to create an ATOM feed
Dim xmlResult As New StringBuilder
Dim settings As New XmlWriterSettings
Dim atomWriter As XmlWriter = XmlWriter.Create(xmlResult, settings)
Dim atomFormatter As Atom10FeedFormatter = New Atom10FeedFormatter(feed)
atomFormatter.WriteTo(atomWriter)
atomWriter.Close()
It returns XML that s...
I am trying out Ado.Net Data Services with this code and I get the following error when trying to access the service :
The server encountered an error processing the request. See server logs for more details.
Any ideea why?
public class WebDataService : DataService<DemoData>
{
public static void InitializeService(IDataServiceConfi...
Hi,
In asp.net, am trying to populate a dropdownlist box with very long text. I have fixed the width of list on the page and i don't want to change its size as it would affect my page layout. On clicking the dropdownlist, the text gets truncated to the size of the dropdown. I want to see the entire text without any truncation, without c...
I have an object similar to what's listed below. When I try to access the properties of the nested business object, I get the error:
A field or property with the name 'Prop2.Property1' was not found on the selected data source.
The gridview is bound to an objectdatasource if that is important.
Is there any way around this?
Sample cl...
Hi to everyone,
i am new in asp.net i dont know to how to combine two asp.net web site into one like domain and subdomain concept.
i know the procedure to host one web application in local iis. Please explain the how to combine two application and how to host in local iis i.e) single url as domain(one web application) and subdomain(anoth...
im trying to pass back from a user control a list of strings that are part of an enum, like this:
<bni:products id="bnProducts" runat="server" ProductsList="First, Second, Third" />
and in the code behid do something like this:
public enum MS
{
First = 1,
Second,
Third
};
private MS[] _ProductList;
pu...
Hi
I am talking to a technical contact at the Server Website who expects me to be using Visual Studio while I just want to hand write script. See below for the SOAP request I need to generate. (I have replaced the actual URL with a dummy one) . I am pretty new to ASP and SOAP as you might guess and I have tried to Google an example scri...
Take the following example...a page with a ListView and a DataPager used for paging the data of the ListView:
Code Behind:
protected void Page_Load(object sender, EventArgs e)
{
MyList.DataSource = GetSomeList();
MyList.DataBind();
}
Source:
<asp:ListView ID="MyList" runat="server">
<% //LayoutTemplate and ItemTemplate r...
I am working on a web application which uses the FileUpload control. I have an xls file in the full filepath 'C:\Mailid.xls' that I am attempting to upload.
When I use the command
FileUpload1.PostedFile.FileName
I cannot get the full filepath from my system. However, when I use the above command in another system it works fine.
I ...
I have one control named thumbviewer inside repeater. I want to set its imageurl in
code. Currently it's done in aspx itself as
<asp:Repeater ID="Repeater1" runat="server" >
<ItemTemplate>
<span style="padding:2px 10px 2px 10px">
<bri:ThumbViewer Id="Th1" runat="s...
In my web page i used a gridview. In this gridview it shows a group of users information.
I just added one button from smart tag menu. And my requirement is that when i am hitting the button corresponding to each users, it will redirect to another page and shows the corresponding user's information. What i do for getting this type of out...
I've got an application that downloads data from a 3rd party at 3am every morning
Nothing changes in terms of content until then...
is it possible to cache the "product info" page until then?
or is this something i should set in global.asax?
...
I am working on a project that requires localization of all user-facing text in the database. Thus, for a business object there are usually three tables involved:
EntityBase - Holds core attributes
EntityLocalized - Holds localizable attributes and related culture
Cultures - Holds list of acceptable cultures
I use a view for every en...