|
I forgot to mention this is in a wizard control and needs to run the time check on the next button click.
|
|
|
|
|
|
Thanks that's just what I wanted.
Lee
|
|
|
|
|
Any Time..!
All the best..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi Lee,
I thought the main purpose of the confirmbuttonexteneder is for client side questions and post back.. can't you just use javascript to check the datetime before showing the ConfirmButtondialog?
thanks,
Wilson
Still a newbie.. learning
|
|
|
|
|
Hi Wilson,
It is and it was to ask the question "Was the time selection intentional?", yu see this is for an online scheduler for conferences and if the end time is before the start time the conference goes into the next day.
Anyway, this is now working and a closed case.
Thanks anyway,
Lee
|
|
|
|
|
hello friends
i want to know what is diff between in these two way of adding item in cache.
cache["key"]= value;
and
cache.add("key",value,...);
thanks in advance
|
|
|
|
|
|
Hi findtango,
If you access the cache via the indexer, i.e.,
1. Cache["Key"] = value;
a. the value remains in the cache indefinitely.
Instead while you are using
2. cache.add():
a. It will accept some more parameters for expiration and all
b. Also, calling the Add method returns an object that represents the cached item.
If the key already exists in the Cache the method will fail.
Thanks & Regards,
Jeneesh k. v.
|
|
|
|
|
Please give me a link or explain how will i write the code for checking duplicate user name is existing while trying to insert new one by using core ajax coding
|
|
|
|
|
I think you can do it in Database by making query,
like in sqlserver
IF EXISTS(SELECT Id FROM user WHERE username = @username)
Duplicate
else
No Duplicate
|
|
|
|
|
I have taken a DetailsView . Now I want to retrieve the details shown in detailsview in the panel in which there are many textboxes of respective fields.
like GridView in which we use "RowCommand" event , which event should i take to retrieve the details??
modified on Wednesday, January 6, 2010 7:02 AM
|
|
|
|
|
Hi,
Could someone tell me how to open the .msg file as how we double click and open the .msg file. Please send code. Thanks for your help in advance
With Regards,
Samson
|
|
|
|
|
Whats Your Requirement Here..!
1)You need to open .msg file and convert into txt file
2)Send the .msg file as Email..!
3)?????????????????
samsonx wrote: Please send code.
This is Considered as rude in here..!
Check This Link..!
http://dotnet.dzone.com/articles/how-parse-and-view-outloook-ms[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
I am using a crystal report developed separately with crystal report developer ie BI.
I am going to use that report for my application.
i have loaded that report in the report document and i have set the same to the crystal report viewer.
but my concern here is while developing the report i have used a database and a server.
but while using the application the server and the database may come dynamically , i have used the ReportDoc.SetDatabaseLogon() but its of no use its asking me the same database which i used while developing the report,
how to change the same..
thanks for helping in advance
|
|
|
|
|
Hi,
I have two buttons(BUTTON1,BUTTON2) and one object tag to display the video. Now when i click BUTTON1 i want to update the video. So <object> tag should be effected. But when i click BUTTON2, it should not effect the video. Here i used the update panel to achieve this.
<asp:updatepanel id="UpdatePanel1" runat="server" updatemode="Conditional">
<contenttemplate>
<object>
<tiggers>
<asp:asyncpostbacktrigger controlid="Button1" eventname="Click">
<asp:button id="Button1" runat="server" onclick="Button1_Click">
<asp:button id="Button2" runat="server" onclick="Button2_Click" >="">
In the above code i specified that - object tag(VIDEO) should be effected when we click on Button1 only. But it is blinking when we click on Button2 also. How can we prevent the blinking or refresh of the video when we click on Button2? Can anybody help us? Thanks in advance.
Padmaja N
|
|
|
|
|
Hi Ravi Adabala,
where is your '</asp:updatepanel>' closing tag ?
The controls which needs to show the ajax effect, which should be
placed inside the updatepanel. others are exclude from the update
panel. second thing, you just replace Eventname='click' to 'Button1_click'
please try it....
Thanks & Regards,
Jeneesh k. v.
|
|
|
|
|
Hi,
How to get the visitor's actual IP address.
I have tried all the possible solution like HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"],
UserHostAddress, Remote_ADDR etc etc. But all are returning the same IP that is I think proxy ip.
If we are behind the firewall/proxy then is there any way to get the local IP of the system like 100.100.100.27.
Please confirm.
Pankaj
|
|
|
|
|
You don't. Thats exactly the purpose of proxy's.
|
|
|
|
|
The below given code gives you the IP address of the User Accessing the site:
HttpContext.Current.Request.UserHostAddress;
OR
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
To get the IP address of the machine and not the proxy use the following code:
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
I hope this was useful !!!
|
|
|
|
|
I think he already mentioned these are not working for him.
|
|
|
|
|
Hi pkp001,
As pd69 said,
HttpContext.Current.Request.UserHostAddress;
this code will return the IP of the requested machine.
Thanks & Regards,
Jeneesh k. v.
|
|
|
|
|
Get the visitor's actual IP address?
Do you mean the visitor is using proxy?
Try this function:
Private Function getIP()
Dim strIPAddr
If Request.ServerVariables("HTTP_X_FORWARDED_FOR") = "" OR InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), "unknown") > 0 Then
strIPAddr = Request.ServerVariables("REMOTE_ADDR")
ElseIf InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ",") > 0 Then
strIPAddr = Mid(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), 1, InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ",")-1)
ElseIf InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ";") > 0 Then
strIPAddr = Mid(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), 1, InStr(Request.ServerVariables("HTTP_X_FORWARDED_FOR"), ";")-1)
Else
strIPAddr = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
End If
getIP = Trim(Mid(strIPAddr, 1, 30))
End Function
You can also get the visitor's IP by Request.UserHostAddress.
modified 27-May-14 5:05am.
|
|
|
|
|
how to create Forum with ASP.net And C# coding for Persian (Farsi) Language ?
|
|
|
|
|
Hi,
You will get some example of forums with source code, use google for it.To make it in Farsi language you have to use a concept of Localization. There are lot of tutorials are available for it.
Rock Star
|
|
|
|