|
You could do it that way, but it depends how many records you are searching. Where is the data being stored between postbacks? The sqldatasource isn't going to open a connection to the database on every postback only to filter the data after it has been returned will it?
The other issue with using viewstate to store your search criteria is that is if the user leaves that page, they have to start all over.
I would use a stored proc with parameters and store the criteria in session state.
I didn't get any requirements for the signature
|
|
|
|
|
|
gopinagam wrote: Forum: ASP.NET
Subject: masterpage code
Sender: gopinagam
Date: Tuesday, December 23, 2008 7:45 PM
hi
Stop Spamming. This is not a Question .
cheers,
Abhijit
|
|
|
|
|
i am using a master page
and two child pages page1 , page 2 both are in master page
now i want to give title tag for page 1 = page 1 and for page 2=page 2
how can i do it in master page or is there any other way to give title tag???
any help would be appriciated..
umerumerumer
|
|
|
|
|
Seriously I Didn't get your problem ?
Your are using One Master Page and Two Content Page. I believe you should also have content Place Holder in Master Page. and You have just need to mention the content place holder name in Content Page. This is are the general scenario.
mr_muskurahat wrote: now i want to give title tag for page 1 = page 1 and for page 2=page 2
how can i do it in master page or is there any other way to give title tag???
What about this part ?
cheers,
Abhijit
|
|
|
|
|
If you just want to add title for the content pages(Child Page).You can set it in child page's Page tag at top in page as
Title="Child1".
Let me know if any other issue.
Cheers!!
Brij
|
|
|
|
|
actually my page shows untitled page which is written in master page title tag
i want to show page 1 title instead of master page title.... what should i do????
umerumerumer
|
|
|
|
|
Put the Title value as I said earlier in the content page's Page tag.
Cheers!!
Brij
|
|
|
|
|
Ya solved thank you....
umerumerumer
|
|
|
|
|
Cheers!!
Brij
|
|
|
|
|
I have one asp dot net Project.I want to prepare help file for end user.And I want to know how to prepare help file.Can anybody give me good solutions to prepare help file.
|
|
|
|
|
There are a lot of websites having help on the net.You can have set of HTML pages with the table of intex and also can have sitemap etc.You can also upload a document for that one.
Cheers!!
Brij
|
|
|
|
|
2 Days back there was a Thread[^] in the same topic.
Hope that will help you.
cheers,
Abhijit
|
|
|
|
|
I need to assign some string with quotations. how can i give.
For ex:
string st1 = "<div class="nameMeaning"><div>"
i am getting error here..
But i need value of st1 with quotations. how can i get?
G. Satish
|
|
|
|
|
|
use escaping character like this
string st1 = "<div class=\"nameMeaning\"><div>"
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
some thing is missing in ur answer
G. Satish
|
|
|
|
|
for quotations use \ before quotations like
string st1 = "<div class=\"nameMeaning\"><div>"
Cheers!!
Brij
modified on Tuesday, December 23, 2008 6:30 AM
|
|
|
|
|
\" will insert a set of quotes in your string. The other way is to use single quotes, they work too in HTML
string st1 = "
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi friends,
help me to restrict session variable to share among the tabs of a browser.
thanks in advance
surender
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
I think you'll have some trouble doing that, as the session depends on the process your browser is open in. You'd be better trying to handle having two tabs open.
|
|
|
|
|
here the scenario is like,
m maintaining client ids in session, m doing some processing on one client id and if i open a new tab in the browser i can see the same client id in the second tab.
i want to restrict this.
pls suggest me how to do that.
thanks inadvance
surender
No Defeat Is Final Until You Stop Trying!.......
|
|
|
|
|
surender.m wrote: i want to restrict this.
You can't as it is controlled by the browser.
|
|
|
|
|
You can't.
The work-arounds are all ugly as well...
1. Don't use session
2. Use viewstate to keep data in (since viewstate is tied to a single page instance)
3. Use Querystrings
4. Use a custom property bag solution which utilizes a combination of viewstate/querystrings to maintain keys across..
5. tell your users not to use multiple tabs.
---
Don't be irreplaceable. If you can't be replaced, you can't be promoted.
|
|
|
|
|
Hi !
i work with c# asp.net ;
I have a datagrid that it select,update and delete data.
I have also a column with details links i want if I click on details I would have details on the selected row into another grid or the same .
Thank you for guiding me.
thanks
|
|
|
|