Hello everyone
I am trying to make a page which allows me to delete job applicants from the db.
My page works fine but whn i click on the delete button it reloads the page but doesnt delete the applicant and his details. I am using linq.
Here is my code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ApplicantManagement.as...
Hi,
I am displaying calender using calender control.
Each date is displayed as Link button.
But i want only last 30 days(dates) from current date, to be enabled for client click. on those days i will write some code on SelectionChanged event. But goal is other dates must be disabled for click.
They should not have link button.
...
I'm not sure if im missing something obvious, with Windows Workflow used from within ASP.NET I don't really know how to get output from the Workflow back to the ASP.NET workflow.
I have my workflow setup to handle external event, so my web page can invoke it, which works fine, but how do I get the information out again? Do I have to qu...
Hi everybody,
I have a standart Page within my ListView control on the page, And the Pager is work, however in order to move to next list of items i required to click on pager link twice before it actually moves to next set of items.
The code for the pager is:
<asp:ListView ID="lv_LostCard" runat="server" DataKeyNames="request_id" En...
I am creating a bookmarklet button that, when the user clicks on this button in his browser, will scrape the current page and get some values from this page, such as price, item name and item image.
These fields will be variable, means that the logic of getting these values will be different for each domain "amazon, ebay" for example.
...
I was searcing for some information, and I found a method like this:
public partial class Customer {
private string customerIDField;
private string companyNameField;
private string contactNameField;
private string contactTitleField;
private string addressField;
private string cityField;
private...
I have a small web application.
This is what I want to do: Create partial classes to split up a code behind file.
Why am I not able to create partial classes directly?
If this is the codebehind file:
using System;
using System.Configuration....
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object ...
On Postback, how to get the Column that I am sorting by (by clicking on the column) in my GridView?
...
hello everyone thank you so much for providing help to me for my previous question as I'm developing application for education domain. In that I take panel control as panel1 and define a few dropdownlist controls in that panel as dropdown1, dropdown2 etc. dynamically in button1 click event and i want to use those controls' values in butt...
Why doesn't my gridview's column click toggle the sort direction?
It seems to only sort the rows the first time I click on it, any other clicks just refreshes the page w/o any change in sort direction.
btw I have a OnSorting method that I call to update the sql query to sort.
My Code:
<asp:GridView ID="gvReport" runat="server" AutoGe...
Hello,
The following code creates 100 cookies and then enumerates through them via postbacks.
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
for (int i = 0; i < 100; i++)
{
HttpCookie cookie = new HttpCookie("cookie num." + i.ToString());
cookie["Cookie"] = i...
I have a thick GUI application (possibly running as a service, but also just as a normal application) on a desktop. I would like to expose a web interface to the application for some remote monitoring and control of the application.
I currently am hosting a WCF service that just returns HTML in the application, which works fine, but opt...
I currently have an ASP.NET web application that is serving multiple clients from a single codebase. We use URL rewriting to detect which client is being served (pretty much a virtual vdir) and that drives which master page/themes/module version to run.
Right now, each client can have a different version of a module or the default modu...
Hello Everyone,
I currently have an application which consists of:
User Interface (web page)
BLL (Manager & Domain Objects)
DAL (DataAccess class for each of my Domain Objects).
I use the following in the UI to search for a domain object.
protect sub Button1_Click()
{
IBook book = BookManager.GetBook(txtID.Text);
}
Here is my BL...
Hi, I am confused on how to modify the web.config appSettings values at runtime. For example, I have this appSettings section:
<appSettings>
<add key="productspagedesc" value="TODO: Edit this default message" />
<add key="servicespagedesc" value="TODO: Edit this default message" />
<add key="contactspagedesc" value="TODO: Edit thi...
I have an ASP.NET website that uses C# and I'd like to call functions from an unmanaged C/C++ DLL. How do I do it?
...
Question can also be:
What is your preferred way of invoking stored procedures to fill a DataGrid?
I am currently developing an ASP.NET Page, and I would like to know if Linq is the right way to go for use with my SQL Server DB.
ADO seems nice too, so I would just like to have feedback on what is the most appropriate in general terms...
I have been playing around with a search control and i have noticed that when you try and press enter from within the textbox it submits the form but doesnt click the search button (like i want it to).
My markup is:
<div>
<span>Search</span>
<asp:TextBox ID="txtSearch" runat="server" Width="170"
onkeydown="if ((event.wh...
Today I realized that I no longer have a ”Web Content Form” option (where you select a MasterPage) when I add new items to my ASP.NET web application. I know how to manually add a MasterPage to a web form, it’s just such a pain – and I really don’t understand why Web Content Forms suddenly are missing.
Visual Studio Team System 2008, SP...
Hi - I have a ASP.Net application which implements a web service. Within the ASP.Net application there's a test script which consumes the web service and it all works etc.
I have built a .NET console application and want to 'Add a Web Reference' so that the console app can consume the web service provided by the ASP.NET application. Whe...