|
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....
|
|
|
|
|
How to use AJAX control....I have't worked on AJAX yet..
Please provide me few sample codes...
Thanks...
|
|
|
|
|
just search on google u can find many free datetime picker control..
|
|
|
|
|
http://www.asp.net/learn/ajax-videos/video-124.aspx
is there links like..
get vb code
get c# code
|
|
|
|