الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

dropdownlist databinding problem

مغلق
بدأه fofgh في 25 مايو 2005 · 2 رد · 541 مشاهدة · في ASP.NET
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

al salam 3alaykom,,,,

i have three dropdownlist the first is to (carmake) ,the second is to (carcategory) and the third to (car models) and its dependent to the first two dropdownlist .

the first two dropdownlist autopostback property is set to true and the third is set to false .

i try this and work correctly in binding ; but when click insert button it reset the dropdownlist ( carmodel) to the first item .

page_load

if not page.ispostback then

get_carmake()

get_carcategory()

else

getcar_model()

endsub

#2

انت من وين عامل فيل للدرب داون ليست

هل هي في الفنكشن الي انت كاتبها

وشو الكود الي انت كاتبو في الزر انسسيرت

اظن انك ارجعت عبيت الدرب داون لست في مكان ما لهذا رجع عمل ريست

تم تعديل هذه المشاركة بواسطة ابو السموأل في 25 مايو 2005 في 15:57

#3

yes its from these functions

i put the getmodel function in the Page_PreRender and it works good.

thank you for replying

هذا الموضوع مغلق.

مواضيع مشابهة