When you receive an uploaded file in ASP.NET, you generally do so via an HttpPostedFile object. The received data is made available via HttpPostedFile.InputStream. This is a property, which would lead me to believe I don't need to dispose it myself, however the documentation never mentions who is responsible for disposing the stream, a...
I want to know how to display an aspx page in a popup using jquery
...
Hi,
How do I go about calling a method on an ASP.NET Web Form page using the getJSON method on jQuery?
The goal is this:
User clicks on a list item
The value is sent to the server
Server responds with related list of stuff, formatted using JSON
Populate secondary box
I don't want to use an UpdatePanel, I've done this hundreds on ti...
Im trying to get my head around attaching an entity with a related entity to a new context when I want to update the entity.
I have a Person Table (Generalised to Personnel), which has a LanguageID field. This field is linked as a FK via the EF to another table Language with LanguageID as the primary key (1-M). I need to update a partic...
Hi,
I got trouble when I want to add my custom control with an gridview and an updatePanel.
The javascript function is never added to the page even if I write it directly inside the RenderContent method.
The page is :
UpdatePanel
GridView
EditItem
CustomControl
...
I need to remove all chars that cant be part of urls, like spaces ,<,> and etc.
I am getting the data from database.
For Example if the the retrieved data is: Product #number 123!
the new string should be: Product-number-123
Should I use regex? is there a regex pattern for that?
Thanks
...
Hi ,
I am reading data from an excel sheet and displaying it in a data gridview.There are some date columns in the excel.So when i read the data from the excel and bind it to the dataGridView.The date is displayed in the format "02/02/2009 12:00:00 AM" but the actual data in the excel column is in the format "2/2/2009".So how to ...
We are having an application that is downloadable. We want to stop the application being reverse engineered by someone to lose our business. It there any way to stop this?
...
Hi,
can anyone help me to have a link of working crawler sample code written in either c# or in Vb.net
thanks
...
If I may I will explain how the powers that be where I am working have told me this will work. It sounds feasable and i'm getting a head start on it so I don't shoot myself in the foot later.
It's a generic reporting web site that will have it's look and feel changed, really it will simply be different images and a title but I want it ...
It's a very long time since I've looked at anything in the mobile world so I'm very out of touch. I have a website (done in ASP.Net) that is running live at the moment and I need to make a mobile version of it.
What's the best/most frequently used format of pages to serve up to mobiles these days? Is it a cut down HTML page with few g...
As a solution to the "has a SelectedValue which is invalid because it does not exist in the list of items." error caused by null values in the database being bound to a radio button, I want to add an extra radio button with a value of '' that will allow nulls to bind to the RadioButtonList.
I am going to have lots of these, so I want to...
I have converted my old VS2008 Website to Web Application, now everything was working before I tried to convert it. But now I don't seem to be able to reference my Classes? For example I have a BasePage class that every .aspx page inherits like so
public partial class SomePageName : BasePage
{
}
But now I get this message? And the s...
Hi All,
Please anyone explain me the difference between ViewState,Application and Session of a Page ?
...
I have scenario, I have two update panels on the page (both have update mode='conditional'). If I update one update panel the other is automatically updated. This is first problem.
I am using UpdatePanelAnimationExtender. If one update panel is updated, that don’t have updatepanelAnimationExtender other one also updated and that have up...
I want to wrap up a chunk of HTML render logic in a User Control. Then I want to pass a custom product object (title, thumbnail, id, etc.) to the UserControl that it can use when it renders. Ideally I want to use this in a repeater (or for loop) and pass the current custom product object into the UC.
Every example I've seen has been pas...
I have a nullable varchar column in a table in my database.
I am binding a gridview to this table via an objectdatasource and have a TemplateField like so:
<asp:RadioButtonList ID="rblRequirementOption" RepeatDirection="Horizontal" runat="server" RepeatLayout="Flow"
SelectedValue='<%#Bind("RequirementOp...
I have a custom asp.net server control (actually a specialized version of a checkbox). I want to do some processing on a postback but only if the postback was a result of this control being clicked (with autopostback being set to true). What is the best way to determine if the postback is a result of this control or something else?
Th...
Hello,
I am developing a page with telerik RadGrid and the filtering feature is not working. I enable the filtering at grid an table level but it just execute the rebind action without filtering.
To fill the table I am using the NeedDataSource mode. What I am not sure is if the data stay attached to the GridItem and if that could be th...
I have a asp.net grid(not ajax enabled), a new row is added when i click on Add row button. the new row consists of dropdowns in each cell with the data.when i click on the new row the row along with dropdowns containing the data must appear.
...