As I said, It is almost same.When we do something there is a tradeoff associated.Breaking it into multiple function will just add very few LOC in if you convert it in Machine language.Those lines won't take significant time.But this will surely help u a lot while managing the code which is more important.
Also,You can prioritise and implement as per your requirement.
while writing text in the iframe it is getting correctly .but when appending the text to the iframe through vb code it is getting every time paragraph tag and the text is appending in the down how can i sole this problem
I'm trying to develop a web page after modifying solution from vs2005 to 2008. I can't multi-select controls and position them on the screen, which i understand is a performance downgrade as it was doable in vs2005, nor does the Layout tab work for me in 2008. But worst of all when I try to program controls in the .aspx html file and hen view design again, the IDE randomly applies who know what to the page and the controls end up all over the place. Its driving me nuts. Very difficult to learn web-page development, let alone make a project deadline.
I have a form with a Gridview, MultiView and Menu control on one aspx page.
Sequence of events:
User selects Gridview record A, multiview displays tab 1 and 2
Tab 1 displays record A data
Tab 2 displays record A data
Gridview record B is selected, multiview displays tab 1 and 2
Tab 1 displays record B data
Tab 2 displays record "A" data (this is the problem)
Each tab is a formview populated via seperate SqlDataSources
Does anyone know why the previous record is being displayed?
Does anyone know how I can trace what is "really" being sent to second SqlDataSource?
My debug watch shows the correct record id but second datasource is not returning the correct record info.
My Problem is:
i'm using microsoft word object library 11.0 in my web site, when I’m debugging the application works fine, my question is, why when i call the site from another machine ,the document doesn’t work, it doesn't throw any exception .
I have mentioned my code below:
object missing = System.Reflection.Missing.Value;
object fileName = "d://testword.docx";
object readOnly = false;
object isVisible = false;
ApplicationClass oWordApp = new ApplicationClass();
How can I prevent users from accessing web pages by typing the url of these pages in the address bar of the browser?
I tried checking for the "REFERER" server variable and if it's null, then redirect the user to the home page..but this actually prevents pop up pages from being displayed for the user when he clicks on a link to access another page.
Is there any other way to achieve this?
Well, I won't be able to do the first suggestion.
But, could you explain in more details the second solution. What do you mean "entry page"??
I know the server.transfer method, but I'm not quite sure how to use it in this second solution?
thanks in advance
With "entry page" I mean a page with choices for the user, or links to other pages, or the home page you would have referred the user to.
If this page is called "Index.aspx" and the user clicks on the link "Results" which refers to "Results.aspx",
the user would still see "Index.aspx" in the address bar if you use server.transfer instead of response.redirect.
And therefore the users will not know that "Results.aspx" exists.