|
If the data is not so much heavy , just put the data in a session variable and retrieve it on other pages .
|
|
|
|
|
The obvious way to do this is to make both pages controls and then let viewstate handle it.
Of course, if all you want is for the second page to show the data of a grid view row, and nothing else, then just link to a page with an id in the URL that you use to pull the data from the DB.
This is ASP.NET 101, so I hope you're a beginner doing a course and not being paid for your work.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
there are several ways to achieve this using sessions,querystrings
and gridview built in hyperlink field add it and give destination url
your selected row values will be passed to next page automatically in the form of querystring.
umerumerumer
|
|
|
|
|
thanx a lot:
Actually It is first to me to use session or query string
so, i couldn't get what am i do. If ppssible ,then please guide me through some code or guidance
|
|
|
|
|
|
hii iam using the below code in my asp file
Dim LinkUrl
Dim strEnabledSessionCheck
set xmlDoc=server.CreateObject("Microsoft.XMLDOM")
set xmlappSettings=server.CreateObject("Microsoft.XMLDOM")
set xmladd=server.CreateObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.load(server.MapPath ("../web.config") )
set xmlappSettings = xmldoc.GetElementsByTagName("appSettings").item(0)
''response.Write (1)
set xmladd = xmlappSettings.GetElementsByTagName("add")
'response.Write(1)
for each x in xmladd
'Check for the Atrribute Value
If x.getAttribute("key") ="EnabledSessionCheck" then
'Response.write(x.getAttribute("value"))
strEnabledSessionCheck = x.getAttribute("value")
' response.Write (strEnabledSessionCheck)
but in the code line: set xmladd = xmlappSettings.GetElementsByTagName("add")
iam getting the following error:
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required
kindly help me out
|
|
|
|
|
Hi,
I think the stmt before:
<br />
set xmlappSettings = xmldoc.GetElementsByTagName("appSettings").item(0)<br />
doesn't return a value (null). Did you checked the result of
<br />
xmldoc.GetElementsByTagName("appSettings")<br />
?
Regards
Sebastian
|
|
|
|
|
I am using following function to print iframe . but it doent work with Firefox and works in IE..why dont work in mozilla fireox 3.0..pls gv alternate..
function Print()
{
var iframeE3 =parent.document.frames['pageframe1'].document.frames[2];
var iframeE4 =iframeE3.document.frames.length;
if (iframeE4>0)
{
iframeE3.focus();
iframeE3.print();
}
else
{
alert('no selection');
}
}
|
|
|
|
|
try directly with help of document.getElementById('iframe12') etc..
Anshuman Singh
|
|
|
|
|
Anshumas wrote: try directly with help of document.getElementById('iframe12') etc..
What does it mean ? Did you read the complete requirment ?
|
|
|
|
|
This code is really messy, I assume it blows up in FF, given that you never check if your assumptions are correct ( that there are 3 frames, that iframeE3 is not null, etc )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Adding to what others said,
Install FireBug and check what's wrong with the script. Or there is an Error Console available with firefox which will show the errors in the current page. Try that.
|
|
|
|
|
i am making on RSS feed solution ...
i am using rss.xsl file
how can i show this rss feed in my template
style....
|
|
|
|
|
Please post properly . Its not understandable
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
sorry..
like i am making a rss feed page in which i am showing latest updated properties
eg link:http://www.ibizaholidays.com/rss.aspx[^]
this rss.aspx page content i wanna to show within my master page template
just all page
|
|
|
|
|
|
|
jasjit jas wrote: automatically reate a new page.
What do you mean?
only two letters away from being an asset
|
|
|
|
|
i mean if i click on button it should navigate to another page in asp.net
|
|
|
|
|
Try this[^]
only two letters away from being an asset
|
|
|
|
|
Ohh my God !!
jasjit jas wrote: Subject: need Help(when we click on button new page should be creared )
it means
jasjit jas wrote: i mean if i click on button it should navigate to another page in asp.net
I will suggest you to buy a Beginner's ASP.NET Book and study.
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
jasjit jas wrote: I have to make assignment
So you are here to do your home assignment by us
Please Check[^]
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
hi mr.abhjit i simplay want to take help from ur site .if u dont want to help it is ok i will delete my registration .
|
|
|
|
|
Yes, please do delete your account. Then read some books, take some classes and come back when you have the basics down and we will help you.
only two letters away from being an asset
|
|
|
|
|
jasjit jas wrote: hi mr.abhjit i simplay want to take help from ur site
we are here to help all. There is nothing reason that we don't want to help you. we are here because we love to sharing knowledge.
jasjit jas wrote: f u dont want to help it is ok
I never said that I don't want to help. But the question you have asked that is irrelevant . You should search google or read some basic books of asp.net before ask here.
The subject and the requirement that you explain mark that are totally different . So Again I will suggest you to buy and read some beginners books.
------
About your problem that your explain to mark , you need to use only Response.Redirect()
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|