I am using the standard asp:Calendar control. When a user clicks a date, I am showing a modal popup by handling the SelectionChanged event.
However this means that nothing happens if the user clicks a date, then closes the popup, then clicks the same date again.
I'd rather be handling a DateClick event, and do away with the concept of ...
I have a text box like this:
<asp:TextBox ID="txtLogin" runat="server" Text='<%# strUserID %>'></asp:TextBox>
strUserID is a string value set in my codebehind and I bind the textbox to see the value. I tried with <%= strUserID %>, but it doesnt work for me. can you please tell me why?
Also, I have a hidden field like this:
<input id...
Sorry, really newbie question, but if I was to create an ASP.NET website application, such as a calendar of events linked to a database - would the user interacting with this Calendar be using Active X?
Don't really know how to put that question any other way. Reason I ask is that my works system blocks Active X controls and therefore t...
I have a couple of personal web-based projects in the pipeline, and am unable to chose how to host them.
I have questions in the area of domain names and actual file hosting (which I believe are separate topics, though many companies provide both).
Domain Names
I have a domain name registered with Freeparking.co.uk, but they don't off...
How can I get an ASP.net web form (v3.5) to post a file using a plain old <input type="file" />?
I am not interested in using the ASP.net FileUpload server control.
Thanks for your suggestions.
...
hello,
i am asking myself if it would be dangerous on a asp.net page´s codebehind to use an static (Shared) variable which holds an HMACSHA1-instance. the problem is that the same HMACSHA1-instance would be used by all the asp.net worker-process´ threads when processing multiple simultaneous requests on the same asp.net-page.
all (HMAC...
Which free (preferably open source) component would you recommend to capture my website visitation statistics under ASP.NET? I have SqlServer available. I would prefer db at the back end vs file logging because it is reportable.
...
What I want to achieve is simple:
I have a website, say "my-site" - http://localhost
In this website I have a (physical) folder "foo" - http://localhost/foo
Inside the "foo"-folder I want to have a virtual directory (application?) called "upload", so the URL becomes http://localhost/foo/upload
Notice that "my-site" is an empty websit...
In our asp.net 2.0 app we are using httpmodule and httphandler to calculate some metrics via cookies. To calculate network transfer time, httpmodule:EndRequest stores Transferstart in the cookie and httphandler:Processrequest uses datetime.now to subtract the transferstart to determine overall network time. Is this correct? I am also unc...
I have a solution file that's become 'unstuck' from the projects it references, so that the project GUID references in the .sln point to incorrect GUIDs for the projects that they reference, and this problem persists into several of the projects themselves.
1) Is there an automated tool for fixing this? Anyone who's dealt with this issu...
Hello folks--this is my very first post! I'm pretty desperate so I'm going above and beyond my standard googling. I believe this is an advanced or expert-level .NET question.
The problem is that I have built a .NET web application that needs to be able to insert user controls dynamically into the middle of a list. I'm quite comfortable ...
I'm looking in Web.Config to add a simple (from a book) amendment -
<configuration>
<appSettings>
<add key="SupportEmail" value="[email protected]" />.
</appSettings>
</configuration>
However in the web.config I see there is only the following sign/bracket/block(?):
<appSettings/>
I can't find the opening . And isn't that an i...
In tiled layout, the ListView places the InsertItemTemplate at the end of the list. Is there a way to put it on an entirely separate row, rather than in a table cell?
I want the insert item to always be on the bottom rather than at the end of the current row.
...
I'm sending emails that have invoices attached as PDFs. I'm already - elsewhere in the application - creating the invoices in an .aspx page. I'd like to use Server.Execute to return the output HTML and generate a PDF from that. Otherwise, I'd have to use a reporting tool to "draw" the invoice on a PDF. That blows for lots of reasons,...
Hello everyone,
I am developing a Web Services based on ASP.Net asmx web service. The server end will response byte[] to client encoded in UTF-8, and client to convert the byte[] to string.
My confusion is, the England pound character at server side (I dump just before the Http response is wrote, and the character at server side is cor...
I'm creating a server control that basically binds two dropdown lists, one for country and one for state, and updates the state dropdown on the country's selectedindexchanged event. However, it's not posting back. Any ideas why? Bonus points for wrapping them in an UpdatePanel (having rendering issues; maybe because I don't have a Page t...
I'm trying to debug some legacy asp.net 1.1 code. I have moved the app to my local machine to debug. When I try to load any aspx page I get the following error.
-2147467259 (0x80004005)
That's all that's on the page. Anybody have a clue where I should start to fix this.
...
I have a ReportViewer control on my aspx page that renders a nice report with one of the columns being a percentage. I have put the format of the cell as p0 and it works fine. Users that export the report to excel notice that a decimal appears after the value.
Ie. What used to be "20%" is now "20.%". How can I get rid of the "."?
...
Please suggest a spell checker for IE6.
Preferences (but not mandatory):
open source
free
ajax-friendly
If you need clarification please leave a comment.
...
I have an asp.net application that serializes data to the client using JSON. Once load reaches a certain level, the app is spending an in-ordinate time in GC and after spending some time with WinDbg/SOS and related tools it appears that there is a substantial amount of LOH fragmentation taking place because the size of the generated JSO...