Hi,
I have a scenario inwhich users of a site I am building need the ability to enter some basic information into a webform without having to logon. The site is being developed with ASP.NET/C# and is using MSSQL 2005 for its relational data.
The users will be sent an email from the site, providing them a unique link to enter the speci...
I tried to display the url using all sorts of methods of HttpRequest, I tried VirtualPathUtility object as well, but I never was able to display the hidden portion "default.aspx" of the default... what is the method or property that retrieves this segment of the url?
reason being, I am so close to creating a 404 on application level tha...
I have a working dataset and datagrid already in my project, but I want to make my own quicksearch button. The following code gives error for connectionstring PROVIDER KEYWORD NOT SUPPORTED
connetionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\prod.mdb"
sql = "Select (*) from table1 where prodid=" + searchfiel...
I'm building a website and one of the requirements is for users to export their contacts from their email client to import them into the site.
Because each email client exports their contacts in a slightly different format this has got my head scratching has to the best way to approach it. As I don't know what the fields are, or what th...
how to make BindingNavigatorAddNewItem to ask primary key in a dialog while new row is created after button is clicked?
currently its adding blank row to end of DATAGRIDVIEW that is a big confusing for end user , if user forgets to enter primary key exception occurs.
...
From the ASP.Net Page Lifecycle article on MSDN:
Although both Init and Load recursively occur on each control, they happen in reverse order. The Init event (and also the Unload event) for each child control occur before the corresponding event is raised for its container (bottom-up). However the Load event for a container occurs bef...
hey guys,
I'm having some trouble getting a datetime from calextender on a modalpopup I have.
<asp:TextBox ID="txtPopEndDate" runat="server" Enabled="false"></asp:TextBox>
<img id="calButton" alt="" title="Show Calendar" src="~/App_Themes/Main/img/calendar.png"
runat="server" height="20" style="cursor: hand;" />...
My ASP.NET site is using Integrated Authentication with impersonation turned off. I have added a "%username" to my "conversionPattern" in the web.config to add the user name to each logging entry. However this will use the application pool identity's user name, and not the current visiting user's name.
Any ideas on how best to do this?...
Hi,
foreach (Book b in o.list)
{
ListBox_Items.Items.Add(b.Title);
}
After I do this, the titles are now showing up in the listbox.
When I make a selection (Single Mode), ListBox_Items (Screen) is highlighting the row selected, but event SelectedIndexChanged is not triggering.
protected void ListBox_Items_SelectedIndexChanged(obje...
Hi,
i have created a project in asp.net.now i want to implement asp.net administration tool in my project for user management.The tool works fine in a website ,but in a project it does not work.
Actually i have used the follows links to do this:-
http://msdn.microsoft.com/en-us/library/bb515342.aspx
When i implemented this walkthrough...
I have a page which the user gets shown when he wants to create a new or edit an existing document. There are two UserControls on the page. One simple DatePicker and a more complex grid. After filling out or editing the data he then can press continue which brings him to the review page where he can decide to really create or update the ...
Hi,
I have two modal popups on my page.
One of these popups have buttons on it.
When the popup with buttons is displayed and I click button on this popup, then the second popup gets displayed.
I want that popup should not be visible.
Why is this happening?
Any inputs will be highly appreciated.
...
I have a database field whose dataType is varBinary. Now in a gridView I want to display that data. But i am getting output:
System.Byte[]
not the value
0x2C6D1A
which is in the database.
Please help how to solve this problem.
...
I tried to find similar questions but with no luck. Anybody can give me an idea how to build a Shopping Cart in ASP.NET the best practice way?
I know a wayto use Session but I think it would be painful to maintain the Session across pages. I've heard also to use Profile.
So which one do I have to choose? Which one is the best and most ...
Hi,
Recently I've discovered asp page methods. Little web service type calls.
Though I'm left wondering, what are page methods really good for? I was thinking validation of form data on the server, eliminating the need to double up on validation on both client and server.
But in the real world, what can they be used for? Should they b...
I'm going to be developing an events calendar page which will display a list of events for 12 months from the current date (it will be read-only). It's easy enough to grab the data from the DB with a SP passing in the start date and number of months etc, but I need to group the information by month when it is displayed in the page.
e.g. ...
I have a link button on the page and set it as default button, It works fine in IE but not working in Mozila Firefox. Does anybody have any clue how to resolve this issue?
...
Hi all
I have an ASP.Net appl composed by three pages; page1, page2 and page3
The execution starts on page one. Page1 calls Page2, but page1 has to be visible still, so user can still work on that page. When Page2 closes, a java script function calls Page3, so all the cleaning is done on page 3. When page 3 completes its task, the window...
I am responsible for several ASP.NET web apps running on a local Intranet server. Users outside the company aren't supposed to have access to the server, but I don't like leaving anything to chance if it's not necessary. And only admins should have access to the file system.
Should I encrypt the app settings and connection string secti...
I am looking for a way to display TIF documents on a web page. It basically needs to render a Multi-page TIF in some form of container on a web page.
Do I need a control or is there a simple way to build something like this? Is there any free stuff that we could simply implement?
I have looked at the Telerik reporting product which app...