|
but if u like weblock then you should read the following article too..
http://www.safalra.com/hypertext/html/unlocking-weblock-pro/
http://www.safalra.com/hypertext/usability/html-code-hiding/
P.S: If you see this "<page protected="" by="" weblockpro.com="">" then scroll down a lit bit below..
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?forumid=12076&mode=all&userid=1444452&select=2114268&df=100#xx2114268xx
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
hello Experts,
i m using dis javascript function in a Usercontrol.but the _doPostBack function is not working. When i m using dis fun() in .ASPX Page its working but not in user control.
function ChangePage(id)
{
document.all.uc1_PageNumber.value = id;
__doPostBack('PageClick','');
}
Thnks in advance.
alok tripathi
|
|
|
|
|
Hi all,
Can you please tell me the way to write a log entry into a text file???
once i use the LogEntry object and the Logger object, i need the use the FlatFile TraceListener to write into a .txt file.
where and how do i specify the tect file name??
Thanks,
Ramesh
|
|
|
|
|
Hi, all
I have a Button is being created at run time.
Like
for(i=0;i<10;i++)
{
Button btn = new Button();
btn.id= "btn" + i;
btn.click = new Handler(btn_click);
panel1.controls.add(btn);
}
And the Event Handler is:
-----------------------
protected void btn_click(sender, EventArgs )
{
Response.write("Clicked");
}
My problem is that handler is not fired.
If I am putting the above code in Page_load then it is working.
I there any way to come out.
Please help me
Thanks to all
|
|
|
|
|
Hi sapan...
Try this code
Pgae Load..
{
Button btn = new Button();
btn.ID = "btn" + i;
btn.Click += new EventHandler(btn_Click);
panel1.Controls.Add(btn);
}
protected void btn_Click(object sender, EventArgs e)
{
Response.Write("Clicked");
}
Regards
Hari
|
|
|
|
|
hi hari,
Actually that I know but my scenario is I have created many buttons on a particular event.
Then later on when the buttons are generated. I have to click on that and event handlers should work according that.
Actually in each post back page lost its contents is there any way to retain objects of page as well as event handlers associated with them.
Thanks
Sapan
|
|
|
|
|
Hi Sapan
You have to create dynamic controls every time during the page load...
Thanks
Hari
|
|
|
|
|
hi!
i had already posted this question before. but no reply from anyone so im posting it again!
my page which is working fine in ie.6.0 but not working in 7.0 wat cud be the prob.
i have used in this page a datagrid and inside it i have used gridview cotrol to show child records.
page is
http://www.realtime-dxb.com/navintex/FamilyInfo.aspx?nodeID=20
will some one plz help me in solving this prob.
regards!
atif saeed khan.
|
|
|
|
|
Hi
I have an web application and created a setup for that application.
I installed the setup in target machine.
In the target machine folder .cs files are also viisble to the end user.
I want make a DLL for all the .cs files in the application..
How to do it....
Thanks
Hari
|
|
|
|
|
i have an html page in my aspnet project 2.0 vb.net.
It is the startup page.there is an image in html page.it was an a tag that navigate the page to another respective page.it takes some time to complete the processiong.Then i thought to wite a javascript funciton
javascript function window.open("page.aspx")
and
location.href="page.aspx"
but not working.
|
|
|
|
|
use single qote('')
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
|
its means url is not correct.its in same directory or not if its in same directory then is work.please check the location .............
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Hi Piyush ......
it is in same directory and the url is correct too.
i am writing only the aspx page...
is it corect?
|
|
|
|
|
what u want .if want to open new window naaaaaaa. then writ
function ss()
{
window.open('Default2.aspx');
}
and call this function where u want if any thing else then explain me
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
Piyush ..
tumhari mail id kya hai?
|
|
|
|
|
wellwisher_zone@rediffmail.com
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
|
beautysiner@yahoo.co.in but msngr not work in office so plz mail on rediffmail
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
kya hua kam ho gya
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
9313077379
|
|
|
|
|
|
OnClientClick='<%# Eval("cID" , "window.open("open.aspx?cID={0}");" ) %>'
give error how can I write it correctly?
aj123
|
|
|
|
|
Tkp1452 wrote: '<%# Eval("cID" , "window.open("open.aspx?cID={0}");" ) %>'
Try like this. I am not sure, whether it works or not.
'<%# "window.open('open.aspx?cID="+ Eval("cID")+"')" %>'
But I have used like this, (for Anchor tag)
href='<%# "ToolDescription.aspx?ToolId=" + Eval("ToolID") %>'
Please let me know your feedback
Regards,
Jay
|
|
|
|
|
I'm pretty sure the error is coming from the <%# %> tags. At the point of OnClientClick, everything is being directly translated into JavaScript, and Javascript does not support those tags.
If you need to combine asp.net variables with javascript, I'd recommend using the click attribute, and setting up a server side event handler. Either that, or you could always "cheat" it, by having a hidden data field that you write to via asp.net, and read from via javascript to execute your Eval().
-Roo
|
|
|
|