Click here to Skip to main content
15,918,742 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionapplication development Pin
vijay145722-Feb-15 1:50
vijay145722-Feb-15 1:50 
AnswerRe: application development Pin
Richard MacCutchan22-Feb-15 2:54
mveRichard MacCutchan22-Feb-15 2:54 
AnswerRe: application development Pin
David Mujica23-Feb-15 9:05
David Mujica23-Feb-15 9:05 
QuestionHow can i import images from Windows forms application to Webapplication Pin
Nadir Muhammed21-Feb-15 21:13
professionalNadir Muhammed21-Feb-15 21:13 
SuggestionRe: How can i import images from Windows forms application to Webapplication Pin
Kornfeld Eliyahu Peter21-Feb-15 22:28
professionalKornfeld Eliyahu Peter21-Feb-15 22:28 
AnswerRe: How can i import images from Windows forms application to Webapplication Pin
loben325-Feb-15 2:20
loben325-Feb-15 2:20 
QuestionBrowsing problem Pin
Member 1144687821-Feb-15 9:38
Member 1144687821-Feb-15 9:38 
QuestionMVC - database table not created automatically Pin
jkirkerx20-Feb-15 11:06
professionaljkirkerx20-Feb-15 11:06 
AnswerRe: MVC - database table not created automatically Pin
ramyajaya13-Mar-15 14:00
ramyajaya13-Mar-15 14:00 
GeneralRe: MVC - database table not created automatically Pin
jkirkerx16-Mar-15 8:11
professionaljkirkerx16-Mar-15 8:11 
Questionexport ms access data to excel Pin
Praveen Kandari19-Feb-15 21:39
Praveen Kandari19-Feb-15 21:39 
SuggestionRe: export ms access data to excel Pin
Richard MacCutchan19-Feb-15 23:35
mveRichard MacCutchan19-Feb-15 23:35 
QuestionExtra level of security need to be added using a SMS service(One Time Password two-factor authentication implementation Pin
bharat32119-Feb-15 1:52
bharat32119-Feb-15 1:52 
AnswerRe: Extra level of security need to be added using a SMS service(One Time Password two-factor authentication implementation Pin
ZurdoDev19-Feb-15 2:31
professionalZurdoDev19-Feb-15 2:31 
GeneralRe: Extra level of security need to be added using a SMS service(One Time Password two-factor authentication implementation Pin
bharat32119-Feb-15 2:38
bharat32119-Feb-15 2:38 
SuggestionRe: Extra level of security need to be added using a SMS service(One Time Password two-factor authentication implementation Pin
ZurdoDev19-Feb-15 2:42
professionalZurdoDev19-Feb-15 2:42 
QuestionLocalization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
RajeeshMenoth18-Feb-15 17:52
professionalRajeeshMenoth18-Feb-15 17:52 
AnswerRe: Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
Richard MacCutchan18-Feb-15 22:08
mveRichard MacCutchan18-Feb-15 22:08 
GeneralRe: Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
RajeeshMenoth18-Feb-15 22:28
professionalRajeeshMenoth18-Feb-15 22:28 
GeneralRe: Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
Richard MacCutchan18-Feb-15 22:37
mveRichard MacCutchan18-Feb-15 22:37 
GeneralRe: Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
RajeeshMenoth18-Feb-15 22:51
professionalRajeeshMenoth18-Feb-15 22:51 
GeneralRe: Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
Richard MacCutchan18-Feb-15 22:56
mveRichard MacCutchan18-Feb-15 22:56 
GeneralRe: Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
RajeeshMenoth18-Feb-15 23:02
professionalRajeeshMenoth18-Feb-15 23:02 
Rant[REPOST] Localization - Unable to use any Actions from Pages in Navigation Bar if Arabic language is set Pin
Richard Deeming19-Feb-15 2:25
mveRichard Deeming19-Feb-15 2:25 
QuestionHow to pass JavaScript variable to another page? Pin
samflex18-Feb-15 16:04
samflex18-Feb-15 16:04 
Hi experts,

I am not sure whether to post this on JavaScript forum or here. Please forgive me if I posted at the wrong forum.

I have a javascript that calculates the different between start time and end time.

The value of the difference is stored in a variable called hourDiff.

PHP
var hourDiff = endDate - startDate;


Below, I am passing some form variables from one page to another page called Reserve.aspx using asp.net.

Code is below:

PHP
<asp:HyperLink ID="siteId" style="color:#111" runat="server" navigateurl='<%# String.Format("Reserve.aspx?id={0}&groupsize={1}&facilityFees={2}&extrahour={3}&depoitAmt={4}&cancelAmt={5}&keydeptAmt={6}", Eval("siteId"), Eval("capacity"),Eval("RentalFeeAmount"),Eval("ExtraHourAmount"),Eval("DepositAmount"),Eval("CancellationAmount"),Eval("KeyDepositAmount")) %>' Text='Select' />


Is it possible to pass this javascript variable as part of the hyperlink?

If no, is there another way to do this?

Basically, assuming that acceptable hour difference is 2, anything above 2 incurs additional fees.

So, I wanted to pass that variable to Reserve.aspx page so I can substract 2 from whatever the total hourDiff is and if the difference is greater than 0 than add x amount of additional charges to the total hours greater than 2.

Your help is greatly appreciated.

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.