|
krishna19 wrote: HOW TO VALIDATE THIS IN ASP not ASP.NET.
So why post it here ? It belongs in 'web development'.
krishna19 wrote: so we are getting more mails when ever we refresh the pages. This should be stopped.
I'm sure it should. Your code to send email is obviously being run more than once. No-one can comment further without seeing the code, and the code should be seen in the web dev forum, not here.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
I have the following connection in my webconfig file:-
<add name="Conn" connectionString="Data Source=C:\inetpub\wwwroot\quetzal_system\equipment.mdb" providerName="Microsoft.Jet.OLEDB.4.0"/>
Can someone just check it's correct never done one only sql.
|
|
|
|
|
|
Sorry about the couple of closley related Q's thisafternoon... but I'm just getting to grips with atlas.
Is it possible/feesable/sensible to have a master page and load all its content pages sans-postback, Atlas style.
As the site im working on only has 2 pages and a master.
1 page uses Atlas and an XML control and XSL to mimic being 3 or 4 pages that are totaly generated from database queries.
The second does not and having that one page that posts backs kind of upsets the seemless feel i want... I thought of making the second page a custom control on the first page hiding and revealing it inside an update panel when needed but that seems an awefuly clunky way of doing it.
Any ideas?
Thanks.
|
|
|
|
|
Under fire fox the masterpage does not even flicker... under IE there is an ugly refresh on the master page when navigating to pages still under the same master page.
All my graphics have been optimised and saved in super lean formats using photoshops "Save For Web" feature .. yet still IE7 gives this ugly refresh on the master page.
Any ideas?
Thanks.
|
|
|
|
|
I think that you are confusing master pages with framesets. A master page is only a tool on the server to separate contents. The entire page is created for every request, not just the contents from the aspx file.
---
b { font-weight: normal; }
|
|
|
|
|
No i understand the master page to that extent(see my above question about geting the master to load the contents via ajax to counter this very point).
But under fire fox there is no "flicker" during loading of any of the pages... the master page stays (seemingly) un altered/un-re-loading while the content updates...
Under IE7 there is a nasty and pronounced flicker of the whole page
|
|
|
|
|
Yes, that is what happens when you load a page in the browser. The browsers just work differently.
---
b { font-weight: normal; }
|
|
|
|
|
I also know that... BUT there have been plenty of work arounds or "cross-browser" solutions to certain "quirks" of some browsers.
And that was what I was looking for with regards IE7 and masterpages.
|
|
|
|
|
The only work around for the flickering caused by reloading the page would be to update the page without reloading the page.
---
b { font-weight: normal; }
|
|
|
|
|
I have a BoundColumn which shows a Date.In the Sql server database i have Null value, but in the datagrid i see 1/1/0001 12:00:00 AM .Do you know what the cause might be?
If it has any relevance, the datagrid source for the boundcolumn is a LLBLGen Collection.
Thank you.
|
|
|
|
|
You can convert that into date only and then display it in the datagrid.
Best Regards,
Apurva Kaushal
|
|
|
|
|
K.I'll do it in ItemDataBound.
-- modified at 9:29 Tuesday 19th September, 2006
|
|
|
|
|
You can change the date format while retriving on the query itself. Like conver as Varchar.
Ram
|
|
|
|
|
Hi, can anyone please tell me how to create an excel spreadsheet in asp.net application, with the ability to store multiple datatables/datasets in the same worksheet. Doesn't matter if it's automatic or if I manually have to set each cell's value, headers etc.
And finally prompt the user to save(download) the file.
Thanx
Regards,
Tintin
|
|
|
|
|
|
Nope, unfortunately not. I'm looking for something similar to what www.spreadsheetgear.com provides. Only thing is it's not freeware.
Their code enables you to build spreadsheets and allow download.
Regards,
Tintin
|
|
|
|
|
Artical in Codeproject.
Delivering Spreadsheet Capabilities Across Platforms
http://www.codeproject.com/showcase/farpoint.asp[^]
Go through this. And think how you can use the knowledge you accquried to accomplish your task.
Hope this helps,
Best regards,
-- modified at 9:50 Tuesday 19th September, 2006
|
|
|
|
|
How can I show popup message when session time out in ASP.NET 2.0 ?
Best Regards...
|
|
|
|
|
|
This article related about popup windows.
I need just show message when session time out.
Best Regars
|
|
|
|
|
My appliction is Online Test and i am getting an issue in the same. I have summarized the issue below. If you have any solution or if you know what causes that then Please let me know.
Issue:
=====
When a candidate starts test I am creating an xml file in page say starttest.aspx in the server its size may vary (maximum size is 60kb). After that I am opening a pop up window say test.aspx and reading the data from xml file displaying the questions and answers. When I read the xml file I am getting the following error “System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.IO.FileNotFoundException: Could not find file "C:\sahitya.kothuri_7000.xml". File name: "C:\sahitya.kothuri_7000.xml" at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) at System.IO.StreamReader..ctor(String path) at SkillExaminer.Candidate.CandidateTestXml.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\skillexaminer\candidate\candidatetestxml.aspx.cs:line 120”
I am not getting the error when two people take up test. But when 40 people take test one or two are getting this for rest of them it works fine.
Can you guess what could have caused this problem?
Ramya
|
|
|
|
|
This is because the system is not able to find the file. and the reason could be youare trying to access the file before it is created. Thus the application works when your file is present and otherwise throws an exception.
Fastest way (not the best) to slove ths is Handle the exception, you can do that by putting code (where you try to open the file) in a try catch block, and ask te usr to retry.
I hope that helps.
Regards,
|
|
|
|
|
hi,
i want to customize the SUBJECT of MailMessage object.
is there any way like MailMessage.BodyFormat?
is there any other way to resolve this problem?
Thanks
Krishna
krishna n
|
|
|
|
|
Hi all,
I wish to create a Custom Repeater Control and for that Control, i wish to create Templates during Design time. (ie) The Web page designer can put the controls (drag & drop) in the Corresponding Templates.
For that i am using 'ControlDesigner' class to create the necessary Templates for that Custom Repeater Control.
Can anybody pls give me a Nice Article which clearly explains the core concept of this? Thanks.
Regards,
Jay
|
|
|
|