asp.net

could some plz tel me tip's to understand sphinx from scratch

I need to understand sphinx from scratch. m new to using sphinx and I work on asp.net. If any of u have any document's or ebook's about sphinx plz mail me at ...

Selecting Multiple Check Boxes Inside a Grid View Control by clicking the Column Label Header

Dear Friends, I have a grid view control with Template Field containing Item Template as Checkbox control and the Header Template is containing the label with column header name. I want to click the coulmn header label and all the check boxes must be checked once. Please provide me some examples or ideas how i can achieve this <asp:...

MVC ValidateAntiForgeryToken multi-tabs problem

Hello, We'd been getting "A required anti-forgery token was not supplied or was invalid." errors, and on some further investigation, I've managed to recreate the problem in its simplest form - i'm either doing something completely wrong, or this is a limitation of the anti-forgery token system. Either way, I'd appreciate some advice! ...

Filter ListBox items based upon textbox from OnKeyUp?

I have a ListBox containing a large number of items, which are all account numbers and so hard to search through. Is it possible to have the items "filtered" as the user types into a textbox, so that only items that match what has been entered so far are displayed? e.g. List Box 2342 3434 2332 3224 User then enters 3 in t...

Jquery to sort gridview columns at client side.

How can I using JQuery sort any column of gridview at client side? Kindly share... ...

How to Create an XML object in Visual Studio C#

I want to pass an XML object from code behind file of an aspx to an class library.for that how can i create a XML Object. please its urgent. ...

how to show html data in side itemtemplate.

i am using a list view to display answer on question.. i am taken a <asp:Panel ID="IdanswerBody" CssClass = "answer-body" runat="server"> <asp:Label ID="lblAnswer" runat="server"></asp:Label> </asp:Panel> to display answer in a list view. i have written codebehind file //set thre Answer Body. string answer = //.....geting ans...

Prevent aspnet_client folder being added to .NET sites

Yes, other questions here dive into the why. I know why the folder is added. But I haven't seen this question answered: How do I make sure the aspnet_client is never added to my .net sites, EVER? ...

How to structure an ASPNET website using membership

Hello, i have to build a ASPNET website on which some functionalities will be available to logged in users. I'm trying to understand the right thing to to in building my pages. I've found the following code in Page_PreInit: protected void Page_PreInit(object sender, EventArgs e) { if (Membership.GetUser() == null) //check the user.....

edit data gridview

I had gridview which retrieve data from database .I did update statement in data ingridview I did my code but when I selected edit option in gridview this error apear (Procedure or Function 'Update_IntoModel' expects parameter '@Id', which was not supplied) . protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)...

Dealing with / in IIS URL rewrites

Hi All, I am using IIS7 URL rewriting with my website which is written in ASP.NET. I am not sure the best way to deal with / in the rewritten URL because currently, when one is present it breaks the parameters because the engine thinks it needs to split it at the wrong place. For example, a url like: www.test.com/myscript.aspx?code=dot...

ASP.NET How to dynamically change session time for current logged user?

Hi, I'm wondering if it is possible to change dynamically the session time for currently logged user. I'm communicating with a WebService which does a long-running task, and while the it sends the final response, I don't want the user to be logged out. Is it possible ? ...

Include,EF, ASP.NET and dropdownlist

I have a problem with include in EF, ASP.NET and dropdownlist. with the asp.net page : <asp:EntityDataSource ID="ds" runat="server" ConnectionString="name=CoreEntities" DefaultContainerName="CoreEntities" EnableFlattening="False" EntitySetName="Articles" Include="TraductionTitre"> </asp:EntityDataSource> <asp:DropDownList ID="Dr...

Dynamically changing GridView row (ASP.NET,C#)

I have a GridView that needs to display either x amount of columns from the GridView, or just one column (cell) which will expand to take up the entire row. Deciding which to display is done by checking if that one column is blank or not - if it is blank, display the other cells, or if not, just display that one cell. How would I go abo...

PayPal - ExpressCheckout and Recurring Payments

I'm trying to get PayPal's ExpressCheckout working with Recurring Payments. I've got the first two stages (the calls to SetExpressCheckout and GetExpressCheckoutDetails) but CreateRecurringPaymentsProfile fails with the error below. I'm using a modified version of Paypal's sample code, but I suspect I'm (not) setting an encoder value. An...

error when canel row in gridview

this error apear when I try to cancel row in grid view The GridView 'GridView1' fired event RowCancelingEdit which wasn't handled ...

selecting a node of treeview after postback - asp.net

I am using a treeview control. I am buliding the tree dynamically. sometimes the tree becomes larger and the down scroll bar is need to see the entire tree. user can select a node from the tree. if one node is selected ,i change the color of the node from server side. my problem is that if a user selected a node which is bottom in the...

Magic Code?! - .aspx Fields Missing & Disappear from Source Code

Hi, I have a reeeaaally weird & strange problem with some form elements on a .ASPX page im working on.. the page form has a hidden slide-in on click of a div, section allowing the user to 'make a reservation'. The jQuery used to animate the slide works fine, and happens on click on the ticky check-box (id="rescheck"). The problem is, i...

advancing to button code-behind when validation fails... how to solve it without Page.IsValid?

Hello! I have an ASP .NET page with both asp .net validators and some javascript checking too. I am advancing into the button code behind: protected void Button2_Click(object sender, EventArgs e) { if (Page.IsValid) { /// ... Even when the validation fails! The Page.IsValid check solves it, but it also ...

ASP.NET app deployment mess

Hi, I have a little mess with a web application. I works in the development environment, and now I'm trying to publish it to another folder still in my own computer, so one of my colleages could try it without bother me. So I went to "Publish" in "Visual Studio", created a new "Web Application", and then I published the application ther...