|
|
I know that but i have not found a suitable link according to my requirement. If you can think then I Can.
|
|
|
|
|
Hi All,
when i debug my web application
on my machine , the culture is el-GR.
When i upload the aspx files on a server located in US
the culture changes to En-US and i have
problems with Datetimes..
Any help would be appreciated..
Nick Maltis
|
|
|
|
|
This[^] would be a good read for this problem.
|
|
|
|
|
hello,
I am overriding the render method of the page to get the html of a page this is infact a report. It works okay for the first time but i need to create the report multiple time. When the below code is called for second time to capture the newly created report, it gives the error '"A page can have only one server-side Form tag"'. Following the code.
Dim sb As New System.Text.StringBuilder
Dim sw As New System.IO.StringWriter(sb)
Dim hWriter As New HtmlTextWriter(sw)
MyBase.Render(hWriter)
' *** store to a string
Dim PageResult As String = sb.ToString()
' *** Write it back to the server
writer.Write(PageResult)
str = PageResult
Thanks,
Safvi
|
|
|
|
|
I have a page which contains ASP.NET AJAX toolkit (Accordion). I have around 22 AccordionPanel. All the controls in my page is within UpdatePanel control. When i ecute the project and when the Accordion is visible on screen, i go to check its HTML view source but it does not display anything that is within UpdatePanel in HTML. In Accordion I have few more ASP.NEt controls like textboxes, RadioButton and lot more.
Anyone can help how i will get the HTML of the controls.
Thanks in advance
|
|
|
|
|
It depends on what browser you are using. If its IE8 hit F12. For earlier IE versions get the developer toolbar.
|
|
|
|
|
|
Hi there
I am making a website in ASP.NET using vb.net in the Visual Studios 2008 IDE. I am just wondering is it difficult to embed a PDF file in a content page???
Any help appreciated..
cheers
Daithi
|
|
|
|
|
What do u mean by embedding? Do u mean creating a PDF file on any user control event. Like Print button, when hit should create a PDF control.
Let me know if i understand you correctly
|
|
|
|
|
Just use <iframe src="yourPDFfilenamewithPath.pdf" width="500" height="500" /> and the web browser will automatically load the pdf in the iframe.
or you can create a user control[^]
|
|
|
|
|
ya that did the trick!! thanks so much for the help!!
|
|
|
|
|
How do u send attachments by mail in VB.NET.
Do we need to save them temporarily and then delete afterwards?
|
|
|
|
|
hi FEMDEV!! to send attachments try this!!
string AddAtt = "C:/MyFile.txt";
MailMessage message = new System.Net.Mail.MailMessage();
message.Body = strBody;
message.Subject = strSubject;
message.From = new MailAddress(strFrom, Txt_NameOf.Text);
message.To.Add(new MailAddress(strTo, Txt_NameTo.Text));
message.Attachments.Add(new System.Net.Mail.Attachment(AddAtt)); what do you mean with save them temporarily and then delete?? save where? and why save and then delete?? ... good luck!
|
|
|
|
|
Hi
I have a web page that regularly refreshes on post back, and all of this works fine.
However, a user has made some suggestions to enhance the page, which I need some help with:
1) There are 3 asp.panels on the page, which are scrollable vertically. When the page refreshes, the scroll position returns to the top. The enhancement is to maintain the position of where ever the scrollbar is on postback. How do I keep the scrollbar position on post back?
2) Within each of the panels are dynamically added web controls. These web controls contain gridviews, which are themselves contained inside div tags. These div tags can be hiddened and made visible by an image button. This hidden and visible state is actioned by some javascript on the page. Again, the user has asked how it is possible to maintain the state of these div tags on post back, i.e. those that are closed and those that are visible. Currently, the state is on postback for all the div tags to be visible. How do I maintain the state of the visibility of a div tag during postback?
Thanks
|
|
|
|
|
You need to enable smart navigation and maintain scroll position on your page such that after complete postback it maintains the scroll.
If its a AJAX requst then you need to handle it in Ajax BeginRequest handler and EndRequest handler, where you track the scroll position before partial update and restore it after partial update is complete.
In order to maintain the states of Div tags, you have to maintain 'hidden' field. Update the hidden field and store the values such that you can track which div tag needs to be visible. Restore the state of div tag during postback based on the hideen value field.
|
|
|
|
|
Hi
Thanks for your reply, but do you have any examples I could follow on the scroll bar and div tags?
Thanks
|
|
|
|
|
I am cinderlla.i want hotel management system project in .net
Please help me.
|
|
|
|
|
I would be glad to help. Contact me and we can discuss rates. I know the language. I've read a book. - _Madmatt
|
|
|
|
|
A rate of 15 mins per class (working) would be fine.
|
|
|
|
|
Thanks for the reply. Send ur email id please .It will be easy to discuss
|
|
|
|
|
Click the email link I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I too am up for it, if you find Mark's work rates too high!
|
|
|
|
|
|
Hi, i have published website.
At the time of running the site it through an error as follows,
Invalid at the top level of the document. Error processing resource 'http://localhost/CompiledSite/SamplePage.aspx'. Line ...
This is a marker file generated by the precompilation tool, and should not be deleted!
^
Error: Invalid at the top level of the document
why it comes when i run my website at debug mode it runs well but after publishing it, it throughs an error.
|
|
|
|