|
I think what you mean is you want to intercept the inbound message and then post this into an ASP.NET application?
this should help...
http://www.ciol.com/content/developer/os/2006/106041301.asp[^]
Esentially you need to use the new windows mobile 5 interception class. If your trying to do this on a device less than WM5 then your in for a whole world of pain, beacuse it's not easy. If your trying to do it on a non WM5 device then you'll need to consult the appropriate JSR for the J2ME environment, JSR 213 (I think) as of this writting, but don't quote me on that.
Cheers
Shawty
|
|
|
|
|
hi
This is my validation
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Password"
ToolTip="Must have at least One numeric character,at least One Upper Case alphabet , at least 4 characters and password must be at least eight apphanumeric characters long."
ErrorMessage="Enter Correct Format"
ValidationExpression="(?=.*[a-zA-Z].*[a-zA-Z].*[a-zA-Z].*[a-zA-Z])(?=.*\d)(?=.*[A-Z])(?!.*[\W_\x7B-\xFF]).(?![.\n]).{7,15}$)">*</asp:RegularExpressionValidator>
Which is working in debug mode but not working when i run application from iis or publish application .
adilkhan
|
|
|
|
|
what has chnaged since it worked in debug mode? does it still work in debug mode? run a difference between the two.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Onthing changed but actually it is used to AJAX Tool Kit may it is due to AJAX
adilkhan
|
|
|
|
|
Hi,
Is it shows any error..?
|
|
|
|
|
Just Validation is not working .No error message come. actually it is in AJAX Tool Tip cotrol.
adilkhan
|
|
|
|
|
Hi,
Ok,I'm not sure.... ,This might be due to IIS as it was not configured for your current .NET Framwork.
So trying to register it like this
C:\Windows\Microsoft.NET\FrameWork\Your Latest Version > aspnet_regiis.exe -i
or else you can also set the version of ASP.NET at IIS under project properties...
check it once...
S Kumar
|
|
|
|
|
Hi,
I had a working popup from an input button at .net 1.0. We have recently converted the application to .net2 and now the pop-up does not fire. I have compared the view source on both frameworks, they are the same.
I add the javascript at runtime as the button lives in a control along with all the other buttons.
PreviewButton.Attributes.Add("OnClick", "window.open('"+ Preview +"','','toolbar=1,resizable=1,scrollbars=1')");
I have stepped through the code and all the same lines are executed.
Am I missing some trick that .net2 will not fire this pop up?
Any help welcome.
Harvey
|
|
|
|
|
do you have any pop-up blocker?
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I don't no, it just seems to be since the .net 2 upgrade.
|
|
|
|
|
Well, this one opens new pop up window for me. try it in your code.
also notice return false; this will prevent postback
Button1.Attributes.Add("onclick", "window.open('www.codeproject.com'); return false;");
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
thanks Yusuf, I'll try it out...
I just wondered wether the conversion in Visual Studio worked correctly...
|
|
|
|
|
I want to validate each page controls which is inherited from master page. i call this javascript in master page, it is not working, my question is how can we pass each page id to the javascript function when we run the website all the pages form id is showing as aspnetForm.
|
|
|
|
|
call this function and simply add the id of some control.. like i have on button control ...
btn_add.Attributes.Add("onclick", "return abc('" + fu_file.ClientID + "','"+ddl_sub.ClientID+"');");
i call a function which is on master page and pass two id of two controls.. and in fuction use this id and do watever u want to do.
|
|
|
|
|
what is this
fu_file.ClientID and ddl_sub.ClientID. Is it a controls id, then how the javascript file find the form of this controls.
what is "fu_file" and what is "ClientID"
|
|
|
|
|
they find id of these controls and u can find id of any control and in java script u can get id of any control like this
function abc(ID,id)
{
return confirm('Are you sure you want to save the file '+ document.getElementById(ID).value + ' in process '+document.getElementById(id).value+ "." );
}
|
|
|
|
|
|
Object cannot be cast from DBNull to other types.
code is flag = System.Convert.ToInt32(ord["flag"]);
i have declared it as int and it can be null in table.
can any body give solution for this.....
quickly.......
|
|
|
|
|
use
int flag = (ord["flag"] == DBNull.Value ? default(int) : ord["flag"]);
please replace the datatype of flag in default(int) to the data type of flag
|
|
|
|
|
|
take Abhishek reply and apply casting.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
yah..
need to cast means
Convert.ToInt32(ord["flag"])
Now It will work.
|
|
|
|
|
here you have declare the variable as nullable.
<nullable> int
try it.
|
|
|
|
|
Hi...
Is there any DateTimePicker Control in ASP.NET....I am using VisualStudio2008...
Thanks..
|
|
|
|
|
use ajax calender control....
|
|
|
|