No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
Can some one help me to write this in asp? Is it possible? [code=ASP.NET]<asp:TemplateField HeaderText="Release"> <ItemTemplate> <%# DataBinder.Eval(Container.DataItem, "Release" )%> </ItemTemplate> <EditItemTemplate> <asp:TextBox runat="server" id="txtRelease" Text= '<%# if (bdirty) then DataBinder.Eval(Container.DataItem, "Release" ) else GetDefaultRelease()%>'/> </EditItemTemplate>[/code]
Hello, How can I put conditions on a cell from a gridview in edit mode? For example I have the dataview called grdSeasons with the columns From, Until, MinStay, MaxStay, Release in edit mode From, Until, MinStay keep the value data that was saved before when add a new row …
Hi, can someone to help me to write an regular expression for a number from 1-100. I need to validate an age field. Thank you
Hello everybody, I have a problem regarding setfocus. I have a datagrid with 3 columns: MinAge, MaxAge and Code. In Code column I need to generate a code on set focus event. I mean ... when you click on Code textbox (in edit mode) to appear automatically the code. Can …
Hi, Can anybody help me to add a blank row into a datagrid? Thank you!
I have 2 listboxes lbxStdBoard and lbxBoard. When I select a value from lbxStdBoard the value apears in lbxBoard. Each listbox is connected to the database. When the value from lbxStdBoard is passed in lbxBoard the value is saved also in the database. Now I have to delete in Preload …
I have the following code for !IsPostBack wich is woking fine if (!IsPostBack && !string.IsNullOrEmpty(contractId)) { ddlCountry.DataBind(); ddlAgency.DataBind(); ddlChain.DataBind(); ddlLocation.DataBind(); InitializeSession(contract); txtHotel.Text = SessionHandler.Name; txtAddress.Text = SessionHandler.Address; txtPhone.Text = SessionHandler.Phone; txtFax.Text = SessionHandler.Fax; txtEmail.Text = SessionHandler.Email; txtZIPCode.Text = SessionHandler.ZipCode; txtWebAddress.Text = SessionHandler.WebAddress; txtCity.Text = SessionHandler.City; ddlCountry.SelectedValue = SessionHandler.Country; ddlLocation.SelectedValue = …
The End.
menelaussa