hello DP members! i have a website made in asp.net 2.0 but when i place google custom search box code in the page it doesn't work so can i put it into iframe and set target=_top ? and i have tried this and it does work. Please tell me if it against the Google TOS. 2 Question: how many link units allowed with the three ad units with the custom search box on one page?
Your ASP.NET site isn't working because .APSX pages contain form tags as part of the page which means when you click submit the form just gets posted back to itself and doesn't perform the Google search. Change the Google button to an ASP.NET button and change the postbackurl paramter to the postbackurl of the Google form.
thanks for your help. but what would be th postbackurl of google? and in normal input button you can set type=submit but in asp.net you cant set that. what should i do with that?
You may check this link for your query related to placing adsense on iframe https://www.google.com/adsense/support/bin/answer.py?answer=10035&ctx=en:contact