|
|
I see some webpages are limited by size, how to do?
and how to make the webpage displays in the center of a screen?
thanks.
|
|
|
|
|
Seraph_summer wrote: I see some webpages are limited by size, how to do?
Do you want to minimize the page size ? or what ?
Seraph_summer wrote: how to make the webpage displays in the center of a screen?
You have to use Top-Margin and Left-Margin of Body.
Thanks !
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I mean many websites have been limited its page size in order to compatible for old smaller monitor size.
I see I can use margin plus the screen size in order to make the whole page in the center of the screen, I know that I can use javascript code to get the current screen size, but I do not how to combine the css and the javascript to control this, i.e. how can i embed the javascript function into css style? can you give me one example?
thank you!
|
|
|
|
|
hello everyone........is it possible to set tab panel heading through database query.........plz guide me
|
|
|
|
|
Of course... Set the appropriate Tab Panel heading from server side...
What problem you are having ? ?
|
|
|
|
|
hello all
can i create datacontext without using "LINQ to SQL Classes (DataClasses2.dbml)" ?
please give any link or example
Rajeev Kr. Sharma
Sr. Software Engineer
E-Meditek Solutions Ltd.
http://www.emeditek.co.in/
|
|
|
|
|
|
i have date with my database with mm/dd/yyyy format and i need to write the same in out webpage as dd/mm/yyyy.
Can you please help me to convert this in to dd/mm/yyyy format thorugh asp coding.
thanks
|
|
|
|
|
Which date format do you need dd-MM-yyyy or dd/MM/yyyy
You wrote in subject that you need dd-MM-yyyy and in your question you want this format dd/MM/yyyy
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
The ideal solution is to fix your crappy database design. If you stored dates in a date format, you could read them into a datetime and then format them any way you wanted.
Otherwise, you may have to do some string mashing to get the result you want.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Why you have to do this from asp code when you can do this from database if it comes from database
Use the below example.
just replace getdate() with your parameter
SELECT convert(varchar, getdate(), 103) – dd/mm/yyyy
SELECT convert(varchar, getdate(), 101) - mm/dd/yyyy
But the same thing you can do from you code this way.
DateTime todydate = new DateTime();
date.ToString("dd/mm/yyyy");
date.ToString("mm/dd/yyyy");
Believe Yourself™ ™
|
|
|
|
|
if (FileUpload1.HasFile == true)
{
FileUpload1.SaveAs(Server.MapPath("~/AdminSection/Attachment/"+FileUpload1.FileName.ToString()));
}
hi,
anybody knows, what may be the possibility by which this condition alwz return false.
|
|
|
|
|
In your case are you using AJAX? If yes then FileUpload1.HasFile return always false.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
Priyagdpl wrote: what may be the possibility by which this condition alwz return false.
I am agree with Blue_Boy. I guess you are using FileUpload Control inside update panel.
Here is an workaround.
UpdatePanel-FileUpload Control[^]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
You cannot upload using AJAX. Rather if it is withing updatepanel use PostBackTrigger to do your job.
|
|
|
|
|
|
Hello all,
Recently i used Skin file feature of VS 2005 in my application.
It is similar to CSS files.
I want to know the difference bet'n these two and what are the ideal situations for using Skin file over CSS file and vice-versa.
Can anybody help me.
Thanks,
Nagendra.
|
|
|
|
|
as I understand that, skin and css realize the similar functions, but skin is generally used to set the commen propeties for controls, which may not be done by using CSS.
the two seem to be complementary to each other.
|
|
|
|
|
Skin applies to Server Side controls while CSS applies to client side html...
Actually skin changes to CSS when it renders to the client. ...
|
|
|
|
|
Thnx for ur help, i think i am clear now
|
|
|
|
|
Dear All,
I am having a web application, in a page I want to do achieve the below functionality:
In a grid list of options will be displayed, when the user selects and click on a button some process has to be done in back end in the same page but even though the user clicks on any grid paging or sorting any thing in the page the process triggered should not be stopped.
Can we achieve this? If so how it can be?
Kindly help me in this regard.
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
I would suggest to develop the process as a windows application and run it from asp.net if it is a bigger one.
Because if you run the process from asp.net itself, then it will run within the context of IIS and also the the memory allocated to IIS is limited. This will broke the execution of the process if it is big. If the memory occupied by the process is exceed the IIS memory limit, then the session will be broken.
So if you create the process as a windows application, you can start the executable in the server side and pass some parameters as command line aruguments(if required) from asp.net. In this scenario, the process will not run under IIS context. But your asp.net application will need access rights to run the application. You can watch whether the process is completed asynchronously using client side timers.
|
|
|
|
|
|
What is this?
Best Regards,
M. J. Jaya Chitra
|
|
|
|