I am intercepting the update operation for a RadGrid. like this
e.Canceled = true;
GridEditableItem item = e.Item as GridEditableItem;
Hashtable dictionary = new Hashtable();
item.ExtractValues(dictionary);
This gives me the changed values in the HashTable. The problem is I want to access ALL the elements of the current row. How do i ...
I have added some dynamic textboxes upon a button click. I need the values in the click event of another button click. How can I achieve that?
...
I know the general guidelines to double-postbacks, but this one is driving me nuts. It's a button onclick. C#. ASP.NET 2.0. And it's intermittently posting back twice when I click it in production. Can't replicate from staging, at least on the scale I've tried so far.
The code hasn't changed since before it starting doing this, as far a...
I'm using a datatable where for each row I want to store some 3 or 4 fields, the fields are of different types, best case number of fields is 3, and I want to note the row_index (of the row in the datatable) as I need it.
So like this I want to store the values (for the fields) for all the rows in the datatable.
Please give me an examp...
Recenty I installed resharper 4.5, It has cool new feature of checking naming convention, but with this there has been lots of warning message popping up in my aspx file suggesting to prefix all web control name with "_" as it is member field, would like to know what naming convention you prefer for web control and do you prefix control ...
Im using VS 2005 and I want to find the best way to create a Dundas chart dynamically. In my codebehind, I have a procedure that creates the markup tags for a Dundas chart. When the page renders, it doesnt display anything but the view code shows the tags for the chart.
I know its probably something with the rendering of html in the w...
Hi,
I have a rather pesky problem when trying to add a confirm popup message to the onclick event of a button.
The problem occurs when trying to break the message onto a new line so the test wraps within the pop up window. If the \n is taken out of the string the code works fine.
string confirmationMessage = "text text text text text...
I have developed a web service and host it on my server and I would like to know who is using this web service (site Url). I tryed to use "Request.UrlReferrer" but it is not returning any thing! any suggestions/Advices?
...
I was wondering if it is possible to send a Fax via ASP.NET without using proprietary Fax software (i.e. using all .NET native classes)
All I am after is to send a generated PDF to a remote fax machine rather than a printer.
There is this question already, however this chap uses a 3rd party program as the Fax software
EDIT: We have n...
Hi guys,
I have an ASP.NET project that contains a Web Deployment project (to compile the website) and a Setup project (that creates the Setup and install the compiled version of the website).
I always change the application version on the Setup Project and I want to be able to reference that version number into the Website itself but ...
I'm looking to implement an incremental save as you go along using AJAX to post data back to the server.
I am leaning towards JQuery AJAX implementation, but whatever I use I'm wondering how this fits into a three tiered web architecture that uses object datasources.
In the case of incremental saves, do I just need to bypass the object...
I have a single server (Windows 2003/IIS 6). This server has a few different "Web Sites" setup in IIS. Each site is configured in IIS with a distinct host header (port 80). In addition, each site also is accessible over a specified port number (without host header).
For example:
MySite1:
http://apps.mysite1.com
or
http://myserver:xx...
I am trying to pass multiple Eval() arguments to a JavaScript function from an .aspx file, but I keep getting compiler errors. I am new to JavaScript and have never really used Eval() before. Where am I going wrong?
NB: The line shown below is actually all on one line, but is wrapped here for clarity:
<asp:LinkButton runat="server" ...
Is there a way to dynamically change the LoginUrl of FormsAuthentication? What I have is the whole site protected by FormsAuth, but for some pages in a sub folder, I'd like to take the user to different login page, and have FormsAuth handle the ReturnUrl stuff. Is that possible or do I have to write my own redirect code for the sub fol...
Hi,
My scenario is I have a asp.net 2.0 application web application which had the AspNetSqlMembershipProvider properties as:
enablePasswordRetrieval="false" and passwordFormat="Hashed"
But now the need has risen to store user's passwords unencrypted as clear text and display them to Superusers. I have done this by changing the AspNetSq...
I have a select checkbox that has invisible set to false. ASPX looks like this:
<input name="selGR" id="selGR" type="checkbox" checked="checked" visible="false" runat="server" fieldname="GR"/>
The select box is not even rendered in the HTML which explains why JQuery is not finding it. Is there a way around this?
EDIT:
Setting style w...
I am cleaning up my viewsource and want to use the EnableViewState. I am using a gridview that has the following.
<asp:GridView ID="GridView1" runat="server" AlternatingRowStyle-BackColor="#ECECEC"
AllowSorting="true" AutoGenerateColumns="False" OnRowDataBound="gridvw_RowDataBound"
ShowFooter="True" OnSorting="g...
Hi,
I have an ASP.NET(2.0 using C#) web app, in which I have a gridview. I have an Edit column in it, but I'm not using the regular Edit functionality. When Edit is clicked something else happens.
I wanted to know how to change the style of the row in which Edit was clicked in the GridView_RowEditing function?
I have tried this:
...
I'm trying to find a way to to do something that I think must be possible but I'm just missing the point on - so hopefully someone can give me a bit of a nudge :)
I'm utilising databinding in ASP.NET (viewstate turned off - so using controlstate for a few things here and there) to render a repeater (repeaterPriceClasses) that has a repe...
Relating to another question I asked yesterday with regards to logging I was introduced to TraceListeners which I'd never come across before and sorely wish I had. I can't count the amount of times I've written loggers needlessly to do this and nobody had ever pointed this out or asked my why I didn't use the built in tools. This leads...