473,467 Members | 1,300 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Hyper Link problem

Hi pals,

I am using 2 web forms (pages). In first page, i have Datagrid control
and on second page i have a hyper link control to the first page and Add
value to the data grid/Database.

Problem:

when I click on the hyperlink on the second page, i am getting the first
page with cahed data. But i didn't declare/Use code for cache data. when i
Refresh the first page then it ddipalying the modified values in Datagrid

what problem is it? anybody know what it was,Please help me.

Jul 21 '05 #1
3 2220
pm
Could you give me more details? I am sure I can help you if you do.

"VIJAY KUMAR" wrote:
Hi pals,

I am using 2 web forms (pages). In first page, i have Datagrid control
and on second page i have a hyper link control to the first page and Add
value to the data grid/Database.

Problem:

when I click on the hyperlink on the second page, i am getting the first
page with cahed data. But i didn't declare/Use code for cache data. when i
Refresh the first page then it ddipalying the modified values in Datagrid

what problem is it? anybody know what it was,Please help me.

Jul 21 '05 #2
Thank you for your response Mr. pm

In the fist page called "default.axpx" have a datagrid to show records the
database
and have butons for ADD,EDIT,DELETE.

When user click on ADD button, i am redirecting the page to "add.aspx".
Here I am adding the values in the required fileds. and Press "ADD Record"
button. This form add this record into the database and again postback to
same form. if the user want to add one more he/she fill the form again and
press "Add Record" button again. other wise user click on link "List" which
leads to "default.aspx" page ( i wrote an webcustom control(link.ascx) for
Links which appear left side of the page.)

when user Click on link "List", the link leading to the default.aspx page
but it not displaying the newly added record.when i refresh the page by
pressing the F5, then only its showing the new/Modifeid records.

Even i trace my program using "trace.axd". In this page its not showing
the default.aspx wheni clicked on the Link "List".

Problem:
Even it showing the default.aspx page, why it showing the Updated values?
when I am using Response.Redirect, everthing works normal. But i Can't use
Response.Redirect. So I have to use NavigationUrl in the HyperLink webcontrol

I hope I am Clear....

Jul 21 '05 #3
pm
1) you Response.Redirect to the new page.
2) User adds as many records as they like.
3) User clicks link that points to default.aspx.
<asp:Hyperlink runat=server NavigateURL="default.aspx"/> or something like
that.
4) Page does not display new records and previously existing records from
database.

My guess is that it is a URL QueryString/Database QueryString problem.

Set break point on if (!Page.IsPostBack) and determine if the data SHOULD be
coming back given how it was added versus how it is now persisted in the
database.

Keep in touch, I am happy to help.

"VIJAY KUMAR" wrote:
Thank you for your response Mr. pm

In the fist page called "default.axpx" have a datagrid to show records the
database
and have butons for ADD,EDIT,DELETE.

When user click on ADD button, i am redirecting the page to "add.aspx".
Here I am adding the values in the required fileds. and Press "ADD Record"
button. This form add this record into the database and again postback to
same form. if the user want to add one more he/she fill the form again and
press "Add Record" button again. other wise user click on link "List" which
leads to "default.aspx" page ( i wrote an webcustom control(link.ascx) for
Links which appear left side of the page.)

when user Click on link "List", the link leading to the default.aspx page
but it not displaying the newly added record.when i refresh the page by
pressing the F5, then only its showing the new/Modifeid records.

Even i trace my program using "trace.axd". In this page its not showing
the default.aspx wheni clicked on the Link "List".

Problem:
Even it showing the default.aspx page, why it showing the Updated values?
when I am using Response.Redirect, everthing works normal. But i Can't use
Response.Redirect. So I have to use NavigationUrl in the HyperLink webcontrol

I hope I am Clear....

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: VIJAY KUMAR | last post by:
Hi pals, I am using 2 web forms (pages). In first page, i have Datagrid control and on second page i have a hyper link control to the first page and Add value to the data grid/Database. ...
17
by: OlafMeding | last post by:
Below are 2 files that isolate the problem. Note, both programs hang (stop responding) with hyper-threading turned on (a BIOS setting), but work as expected with hyper-threading turned off. ...
2
by: AlanHill1965 | last post by:
Hi All, I have developing a database system for the last couple of weeks and got stuck on one part of the functionality. I have posted this question over at MSDN, but no joy, perhaps they got...
3
by: ajaspersonal | last post by:
"i want to change font_style (hyper link<a href...>text</a>) normal to italics.when load a page" this is my problem but that label included in one 'USERCONTROL' This user controls may...
1
by: simons | last post by:
Hi All, I'm trying to add a hyper link to one of the filed in my DataList control. I added a link button but could not bound it to an ID filed and then link it to the page that i need. I'm...
0
by: mclewell | last post by:
i created an html hyper link field and clicking on the data in the field produces a security warning pop up requiring a yes click before the link is activated, is there a way to turn off this...
1
by: =?Utf-8?B?Q29kZVNsaW5nZXI=?= | last post by:
I plan to build my own 2008 Server/Hyper-V system and will not be using one of the tested Dell or HP systems from the release notes and could use some pointers as to my assumnptions and answers to...
1
by: Kalaram | last post by:
I am makeing a CD, and in this CD i have alot of .pdf & .ppt & .pps files and i have one html page that i use as index to all the files, when i click on the hyper link of .pdf file , it opens...
3
Fary4u
by: Fary4u | last post by:
Hi is any body know how to create the hyper link with following code i can't do it ? <?xml version="1.0" encoding="utf-8" standalone="yes"?> <images> <pic> <image>img/1.jpg</image>...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.