ddlitems.items.clear();
ddlitems.bind();
ddlItems.Items.Insert(0, "--Select--");
i want to refill it again without postback..
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 10, 2013, 4:49 AM EDT
You no need to re bind it again. Just enable view state of your aspx.
<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="true" CodeBehind="WebForm5.aspx.cs" Inherits="WebApplication.WebForm5" %>
Regards,
Iftikar