Click here to Skip to main content
15,899,603 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to I create a "New articles of today" list in the website? Pin
katelva29-Jul-08 22:21
katelva29-Jul-08 22:21 
AnswerRe: How to I create a "New articles of today" list in the website? Pin
eyeseetee29-Jul-08 22:50
eyeseetee29-Jul-08 22:50 
Questionhow to pass the ID of a text box in a gridview to a javascript Pin
Arindam Datta29-Jul-08 21:29
Arindam Datta29-Jul-08 21:29 
AnswerRe: how to pass the ID of a text box in a gridview to a javascript Pin
Imran Khan Pathan29-Jul-08 21:45
Imran Khan Pathan29-Jul-08 21:45 
AnswerRe: how to pass the ID of a text box in a gridview to a javascript Pin
eyeseetee29-Jul-08 21:51
eyeseetee29-Jul-08 21:51 
GeneralRe: how to pass the ID of a text box in a gridview to a javascript Pin
J4amieC29-Jul-08 22:05
J4amieC29-Jul-08 22:05 
GeneralRe: how to pass the ID of a text box in a gridview to a javascript Pin
eyeseetee29-Jul-08 22:20
eyeseetee29-Jul-08 22:20 
GeneralRe: how to pass the ID of a text box in a gridview to a javascript Pin
Arindam Datta29-Jul-08 22:07
Arindam Datta29-Jul-08 22:07 
<asp:GridView id="GridView1" runat="server" Font-Size="X-Small" ForeColor="#333333" Width="802px" AllowPaging="True" GridLines="None" CellPadding="4" ShowFooter="false" AutoGenerateColumns="False" CssClass="grid-view" OnDataBound="GridView1_DataBound">
           <EmptyDataTemplate>
               <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Red" Text="No Data Found"></asp:Label>
           </EmptyDataTemplate>
           <Columns>
          <asp:BoundField DataField="ORDER_NO" HeaderText="ORD_NO" ></asp:BoundField>
          <asp:BoundField DataField="ITEM_NO" HeaderText="ITEM_NO" ></asp:BoundField>
          <asp:BoundField DataField="BALTONS" HeaderText="BALTONS" ></asp:BoundField>
          <asp:BoundField DataField="ORDDATE" HeaderText="ORDDATE" ></asp:BoundField>
          <asp:BoundField DataField="DUEDATE" HeaderText="DUEDATE" ></asp:BoundField>
          <asp:BoundField DataField="MATNR" HeaderText="MAT_NO" ></asp:BoundField>
          <asp:BoundField DataField="DESCRIPTION" HeaderText="MAT_DESCP"><HeaderStyle Width="5000px" /><ItemStyle Width="5000px" /></asp:BoundField>
          <asp:TemplateField HeaderText="PLANQTY">
          <ItemTemplate>
         
            <asp:TextBox ID="txtplanqty" runat="server" BackColor="#ffffcc" OnTextChanged="txtplanqty_TextChanged" AutoPostBack="true" Font-Size="x-Small" Text='<%# Eval("PLAN_QTY") %>' Width="70px"></asp:TextBox>
            
          </ItemTemplate>
          </asp:TemplateField>
          <asp:TemplateField HeaderText="TRGT_PRD">
          <ItemTemplate>
          
                <asp:TextBox ID="txttrgtprd" runat="server" Font-Size="X-Small" onfocus="getdata(this)" OnTextChanged="txttrgtprd_TextChanged" BackColor="#ffffcc"  Width="70px" Text='<%# Eval("TRGT_PRD") %>' AutoPostBack="true"></asp:TextBox>
           
          </ItemTemplate>
          </asp:TemplateField>
           </Columns>
           <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
           <RowStyle BackColor="#EFF3FB" />
           <EditRowStyle BackColor="#2461BF" />
           <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
           <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
           <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
           <AlternatingRowStyle BackColor="White" />
         </asp:GridView>

<script language="javascript">
   function getdata(obj)
   {
   var txt = document.getElementById(obj);
   txt.value='0';
   }
   </script>


it is my code.plz help me

sourav ghosh
GeneralRe: how to pass the ID of a text box in a gridview to a javascript Pin
J4amieC30-Jul-08 0:03
J4amieC30-Jul-08 0:03 
AnswerRe: how to pass the ID of a text box in a gridview to a javascript Pin
J4amieC29-Jul-08 22:06
J4amieC29-Jul-08 22:06 
GeneralRe: how to pass the ID of a text box in a gridview to a javascript Pin
Arindam Datta29-Jul-08 22:11
Arindam Datta29-Jul-08 22:11 
QuestionPaypal integration Pin
Prashant B. Lavate29-Jul-08 21:24
Prashant B. Lavate29-Jul-08 21:24 
AnswerRe: Paypal integration Pin
eyeseetee29-Jul-08 21:53
eyeseetee29-Jul-08 21:53 
Questionhow to pass a textbox ID which is in a grid view to a java script Pin
Arindam Datta29-Jul-08 21:21
Arindam Datta29-Jul-08 21:21 
AnswerRe: how to pass a textbox ID which is in a grid view to a java script Pin
Anudeep Jaiswal1-Aug-08 0:36
Anudeep Jaiswal1-Aug-08 0:36 
QuestionASP.NET 1.1 User Control Can't Set Focus [modified] Pin
peter_790129-Jul-08 20:52
peter_790129-Jul-08 20:52 
AnswerRe: ASP.NET 1.1 User Control Can't Set Focus Pin
peter_790129-Jul-08 21:52
peter_790129-Jul-08 21:52 
Questionajax dual slider problem asp.net c# Pin
VijayVishwakarma29-Jul-08 20:47
VijayVishwakarma29-Jul-08 20:47 
Question"External table is not in the expected format." how to solve this error? Pin
sathyan_829429-Jul-08 19:37
sathyan_829429-Jul-08 19:37 
AnswerRe: "External table is not in the expected format." how to solve this error? Pin
Imran Khan Pathan29-Jul-08 19:45
Imran Khan Pathan29-Jul-08 19:45 
GeneralRe: "External table is not in the expected format." how to solve this error? Pin
Imran Khan Pathan29-Jul-08 20:13
Imran Khan Pathan29-Jul-08 20:13 
GeneralRe: "External table is not in the expected format." how to solve this error? Pin
Christian Graus29-Jul-08 20:20
protectorChristian Graus29-Jul-08 20:20 
GeneralRe: "External table is not in the expected format." how to solve this error? Pin
Imran Khan Pathan29-Jul-08 20:33
Imran Khan Pathan29-Jul-08 20:33 
AnswerRe: "External table is not in the expected format." how to solve this error? Pin
Christian Graus29-Jul-08 20:06
protectorChristian Graus29-Jul-08 20:06 
AnswerRe: "External table is not in the expected format." how to solve this error? Pin
satyaanand.andra@gmail.com29-Jul-08 21:26
satyaanand.andra@gmail.com29-Jul-08 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.