Click here to Skip to main content
16,004,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to access the contain of master page in our cs file? Pin
butchzn15-Feb-09 22:51
butchzn15-Feb-09 22:51 
GeneralRe: How to access the contain of master page in our cs file? Pin
keyur satyadev15-Feb-09 23:17
keyur satyadev15-Feb-09 23:17 
GeneralRe: How to access the contain of master page in our cs file? Pin
raju melveetilpurayil16-Feb-09 0:32
professionalraju melveetilpurayil16-Feb-09 0:32 
Questionms outlook 2003 + address list + windows application Pin
bhavna432115-Feb-09 21:43
bhavna432115-Feb-09 21:43 
QuestionNullReferenceException in UserControl in GridView Pin
sdas00715-Feb-09 21:42
sdas00715-Feb-09 21:42 
AnswerRe: NullReferenceException in UserControl in GridView Pin
Calin Tatar15-Feb-09 23:55
Calin Tatar15-Feb-09 23:55 
GeneralRe: NullReferenceException in UserControl in GridView Pin
sdas00717-Feb-09 19:06
sdas00717-Feb-09 19:06 
QuestionEntering javascript blocks into TextBox Pin
AndyBrew7015-Feb-09 21:17
AndyBrew7015-Feb-09 21:17 
Hi
We have a backoffice system for an e-Commerce solution that allows the user to setup their own javascript blocks that can be added to the site for tracking purposes.

Now when we click submit on the form to save the entry the page hangs, now I have created a test form and now know its not making it back to the Page_Load event of the form. The other weird thing is that every now and again everything works perfectly ok without issue and then just when you think you've narrowed the problem down it stops working again!! The page always renders immediately without problem, the issue only occurs on the post back.

This seems to be very strange and I am at a loss as to the source of the problem, below is the script block I am using to test.

Any ideas?

<!-- PARTNER TRACKING --><br />
<br />
	<!-- Google --><br />
	<script src=" https://ssl.google-analytics.com/urchin.js" type="text/javascript"><br />
	</script><br />
	<script type="text/javascript"><br />
	_uacct = "[google.account]";<br />
	urchinTracker();<br />
	</script><br />
	<br />
	<!-- ATLAS Neutalize --><br />
	<script language="javascript" src="https://track.roiservice.com/track/track.aspx?ROIID=[roid.no]"></script><br />
	<script language="javascript"><br />
		<!--<br />
			var strMsg = '[script.var.mode]';<br />
			var strSubTotal = '[script.var.order.value]';<br />
<br />
			if (strSubTotal == '')<br />
				strSubTotal = "0";<br />
<br />
			if (strMsg == '')<br />
			{<br />
				//alert(typeof(ROIID) + '::::');<br />
				if (typeof(ROIID) + '' != 'undefined') {<br />
					TrackEvent('LandingPage', 0);<br />
				}<br />
			}<br />
			else<br />
			{<br />
				//alert(strMsg.substr(0,32));<br />
				if (strMsg.substr(0,32)  == 'Thank you for placing your order')<br />
				{<br />
					//alert('order placed');<br />
					if (typeof(ROIID) + '' != 'undefined') {<br />
						gt_cid="CustomerID";<br />
						TrackEvent('Sale', '[script.var.order.value]', '[script.var.order.no]');<br />
					}<br />
				}<br />
				else if (strMsg  == 'Thank you for adding your email address to our mailing list.')<br />
				{<br />
					//alert('thankyou - newsletter signup');<br />
					//When a newsletter sign up has been completed<br />
					if (typeof(ROIID) + '' != 'undefined') {<br />
						TrackEvent('NewsConf', 0);<br />
					}<br />
				}<br />
				else if (strMsg  == 'Thank you for recommending one of our products to your friends.')<br />
				{<br />
					//alert('thankyou - email a friend');<br />
					//When an email to a friend has been completed<br />
					if (typeof(ROIID) + '' != 'undefined') {<br />
						TrackEvent('EmailConf', 0);<br />
					}<br />
				}<br />
				else if (strMsg  == 'Thank you, your comments have been forwarded to our customer care team and we will respond to you as soon as possible.')<br />
				{<br />
					//alert('thankyou - for your comment');<br />
					//When a Comments & Feedback form has been completed<br />
					if (typeof(ROIID) + '' != 'undefined') {<br />
						TrackEvent('CommtsConf', 0);<br />
					}<br />
				}<br />
				else<br />
				{<br />
					if (typeof(ROIID) + '' != 'undefined') {<br />
						TrackEvent('LandingPage', 0);<br />
					}<br />
				}<br />
			}<br />
<br />
		//--><br />
	</script><br />
	<br />
	<!-- End PARTNER TRACKING --><br />

AnswerRe: Entering javascript blocks into TextBox Pin
AndyBrew7015-Feb-09 21:33
AndyBrew7015-Feb-09 21:33 
AnswerRe: Entering javascript blocks into TextBox Pin
AndyBrew7016-Feb-09 0:11
AndyBrew7016-Feb-09 0:11 
Questioncheck boxes [modified] Pin
JAYRAJ GIRI15-Feb-09 20:14
JAYRAJ GIRI15-Feb-09 20:14 
AnswerRe: check boxes Pin
Christian Graus15-Feb-09 20:19
protectorChristian Graus15-Feb-09 20:19 
AnswerRe: check boxes Pin
Christian Graus16-Feb-09 10:00
protectorChristian Graus16-Feb-09 10:00 
Question[Message Deleted] Pin
chandhuBTS15-Feb-09 19:28
chandhuBTS15-Feb-09 19:28 
AnswerRe: Unhandled Exception Pin
Christian Graus15-Feb-09 19:41
protectorChristian Graus15-Feb-09 19:41 
QuestionIs there any way to Block or Disable File-Save As in WebSite Pin
Robymon15-Feb-09 19:20
Robymon15-Feb-09 19:20 
AnswerRe: Is there any way to Block or Disable File-Save As in WebSite Pin
Christian Graus15-Feb-09 19:43
protectorChristian Graus15-Feb-09 19:43 
AnswerRe: Is there any way to Block or Disable File-Save As in WebSite Pin
Abhishek Sur15-Feb-09 21:30
professionalAbhishek Sur15-Feb-09 21:30 
Questiongrid view problem Pin
smashamit15-Feb-09 19:18
smashamit15-Feb-09 19:18 
AnswerRe: grid view problem Pin
Christian Graus15-Feb-09 19:43
protectorChristian Graus15-Feb-09 19:43 
QuestionGridView Problem Pin
ais0715-Feb-09 18:22
ais0715-Feb-09 18:22 
AnswerRe: GridView Problem Pin
Christian Graus15-Feb-09 18:28
protectorChristian Graus15-Feb-09 18:28 
GeneralRe: GridView Problem Pin
ais0715-Feb-09 18:54
ais0715-Feb-09 18:54 
GeneralRe: GridView Problem Pin
Christian Graus15-Feb-09 19:45
protectorChristian Graus15-Feb-09 19:45 
QuestionGetting path from datagrid field Pin
rakeshs31215-Feb-09 18:17
rakeshs31215-Feb-09 18:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.