On the HTML code is rendered only the first view or the view that is activated on page load.
Hello all i have this little issue getting this to work, i have a dropdownlist in asp.net inside a formview and jquery cant find the control im guessing because its inside a form, this is what i got and it works on another page without a formviewi get this errorName 'Country' is not declared
Protected Sub DataList1_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles DataList1.ItemDataBound lblshippingoutside.Visible = Dim lblshippingoutside As Label = CType(e.Item.FindControl("lblshippingoutside"), Label)False End Sub
Throws an exception .
Object reference not set to an instance of an object.
I'm using a jquery plugin called uploadify to upload images to my database. I'd like my datalist to be auto-rebind after the images' been uploaded so people could see the changes immediately. Also because this is a feature for admin there is a delete button in the datalist. I used updatePanel for this.
I also have the following two lines to make it working...