.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links


Posted By:      Posted Date: September 02, 2010    Points: 0   Category :ASP.Net
i want multiline textbox with number bullet after enter .help

View Complete Post

More Related Resource Links

>>>Check duplicate while inserting record from Texbox.

Hi, On inserting record, I want to check that for example if a user enters a telephone number for any record is already in the database then it should validate that the number already exists in table and you cannot enter a duplicate value. Then if user will provide some other telephone number then he allows to insert record. For insertion of record I used ObjectdataSource. User will enter telephone number in a simple textbox. I may want to inform that I am working in asp.net2.0 and also not allowed to use any third party control or ajaxtoolkit. Any idea would be appreciated.

Switching texbox when pressing Enter key

Dear all, I have a ssimple mask which is based on 4 text box to be fills. What is teh simple way that when my user is pressing the ENTER key after editing first text box, cursor moves to the next text box in edit bomde ? thnaks regards SergeYour knowledge is enhanced by that of others.

Reading texbox value in a grid view using javascript

hi  I have  two text boxes in grid Txt_BalanceAmt and Txt_PayingAmt when i change the value of one  text box the other ones value shoud also chage   Any help?   <asp:BoundField DataField="PendingAmt" HeaderText="Pending Amt" ItemStyle-VerticalAlign="Middle" ItemStyle-Width="80px"/> <asp:TemplateField HeaderText="Balance Amt" ItemStyle-Width="60px"> <ItemTemplate> <asp:TextBox ID="Txt_BalanceAmt" runat="server" Width="60px" >0</asp:TextBox> </ItemTemplate> </asp:TemplateField>   <asp:TemplateField HeaderText="Paying Amt" ItemStyle-Width="60px">   <ItemTemplate>   <asp:TextBox ID="Txt_PayingAmt" runat="server" Width="60px" Text='<%#Eval("PendingAmt") %>' >0</asp:TextBox>   </ItemTemplate>   </asp:TemplateField>

How to use dynamically created texbox and labels during insert


With the help of other members i was able to add a table dynamically to my form.(http://forums.asp.net/t/1607009.aspx)

Now i need to grab the values and insert into the database. Below is the code used to create the table when a selection is made from a dropdown. My insert expects 3 parameters, ID, CamID, CamName

The ID will be from a field in the form, the CamID needs to be the "j" value below and the Camname to be the txtcam value.

What exactly can i do or what do i search on for help with this?



            for (int i = 1; i <= Convert.ToInt32(ddlNumCam.SelectedValue); i = i + 3)
                HtmlTableRow row = new HtmlTableRow();
                for (int j = i; j < i + 3 && j <= Convert.ToInt32(ddlNumCam.SelectedValue); j++)
                    HtmlTableCell cell1 = new HtmlTableCell();
                    HtmlTableCell cell2 = new HtmlTableCell();
                    cell1.Controls.Add(new TextBox() { ID = "txtCam" + j });
                    cell1.Width = "315px";
                    cell2.Controls.Add(new Label() { ID = "lblCam" + j, Text = " Camera # " + j + "  " });
                    cell2.Width = "115px&

Free Texbox ImageGallery Not working


Hi to all,

 I am using FreeTextBox,

I am running into a problem using the image gallery. i have inclueded the InsertImageFromGallery button, and it show up fine, however when it is clicked Empty html page showing it nothing happens.

my pages


<FTB:FreeTextBox ID="txtDetails" runat="server"

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend