473,725 Members | 2,281 Online
Bytes | Software Development & Data Engineering Community
+ 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 2247
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.ax px" 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.as px" page ( i wrote an webcustom control(link.as cx) 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.Redire ct, everthing works normal. But i Can't use
Response.Redire ct. So I have to use NavigationUrl in the HyperLink webcontrol

I hope I am Clear....

Jul 21 '05 #3
pm
1) you Response.Redire ct to the new page.
2) User adds as many records as they like.
3) User clicks link that points to default.aspx.
<asp:Hyperlin k runat=server NavigateURL="de fault.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.IsPostBa ck) 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.ax px" 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.as px" page ( i wrote an webcustom control(link.as cx) 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.Redire ct, everthing works normal. But i Can't use
Response.Redire ct. 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
392
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. 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
17
6426
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. Note, the Windows task manager shows 2 CPUs on the Performance tab with hyper-threading is turned on. Both Python 2.3.5 and 2.4.3 (downloaded from python.org) have this problem. The operating system is MS Windows XP Professional.
2
1706
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 upset about the fact I had posted to the wrong area (VBE not VBA...). Anyway The problem I have is in capturing the hyperlink used to open an MS Access database. The database (Access 2000) is used to gather the results of tests then compare them...
3
2938
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 condain 4 link (<a href...>page1.aspx</a <br <a href ....>page2</aetc..). that will redirect another page ex:(page1.aspx).
1
1690
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 trying to build a news posting system running an access DB, which will link the front page with all the news headers to a news page.
0
1310
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 specific warning?
1
4742
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 a few questions. Some getting started with Hyper-V assumptions. Please tell me if I am off base here. 1. Any recent Intel quad core processor has the needed x64 architecture with hardware assisted virtualization and data execution protection...
1
2925
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 normally. but whn i click on the hyper link of .ppt or .pps file, it shows a small windows that asks me to "open or save". can i make it open directly without this winow appearing.
3
1806
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> <logo></logo> ? ? ? <WEBSITE>http://www.domæne.dk</WEBSITE> ? ? ? <details>Weeknights at 8pm</details>
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9116
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6702
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3228
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 we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.