Button Click Event Not Fire

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 年 前
hello friends

i am use nopCommerce 1.7.0. i was chage in page design and css  according to thoes changes the follwing problems occure.

(1) In ProductBox1.ascx control Button are not working a click event of a button are not fire.

        protected void btnProductDetails_Click(object sender, CommandEventArgs e)
        {
        ...............
       ................
        }

(2) In same Control  button click event not working
       protected void btnAddToCart_Click(object sender, CommandEventArgs e)
        {
             ...............
       ................
        }


when i am debug a code my break point never hit on this button ...
so any one found the solution regarding to my problem please send me a replay..

Dipesh
13 年 前
Does page post backs when you click button ?
13 年 前
Page is post back when button click event fire
13 年 前
Remove "NavigateUrl" and "PostBackUrl", if you have sepcified that.
You need to remove that from master page or controls which covers page.
13 年 前
i was try this ...
my oldest code was woring fine but i was just change a design of the page my button click event no fire propely i was got  the nevigate and product url in hlProduct ,hlImageLink but my Detail button not working actually the click event is fire but the page was redirect on same page ...
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.