Click here to Skip to main content
15,898,670 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRelate to Update panel Pin
Ankit At Codeproject22-Apr-08 2:12
Ankit At Codeproject22-Apr-08 2:12 
GeneralRe: Relate to Update panel Pin
Sandeep Akhare22-Apr-08 3:21
Sandeep Akhare22-Apr-08 3:21 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 3:33
Ankit At Codeproject22-Apr-08 3:33 
GeneralRe: Relate to Update panel Pin
Sandeep Akhare22-Apr-08 3:36
Sandeep Akhare22-Apr-08 3:36 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 3:40
Ankit At Codeproject22-Apr-08 3:40 
GeneralRe: Relate to Update panel Pin
Sandeep Akhare22-Apr-08 3:43
Sandeep Akhare22-Apr-08 3:43 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 20:04
Ankit At Codeproject22-Apr-08 20:04 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 20:18
Ankit At Codeproject22-Apr-08 20:18 
hey sandip this is my

.aspx page
]]>
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<title>Untitled Page



function setHidVal(val)
{
debugger;
var ob=document.getElementById('tshf');
if(val=='Save')
{
ob.value=val;
}
else if(val=='AddRow')
{
ob.value=val;
}
}





<asp:scriptmanager id="ScriptManager1" runat="server">
AsyncPostBackTimeout="360"/>

<asp:label id="lblmy" runat="server">

<asp:updatepanel id="UpdatePanel1" runat="server">
<contenttemplate>
<asp:hiddenfield runat="server" id="tshf" value="">
<asp:gridview id="grdnew" runat="server" enableviewstate="true">
Style="z-index: 100; left: 53px; position: absolute;top: 81px"
CellPadding="4" ForeColor="#333333"
GridLines="None" AutoGenerateColumns="false">
<footerstyle backcolor="#990000" font-bold="True" forecolor="White">
<rowstyle backcolor="#FFFBD6" forecolor="#333333">
<selectedrowstyle backcolor="#FFCC66" font-bold="True" forecolor="Navy">
<pagerstyle backcolor="#FFCC66" forecolor="#333333" horizontalalign="Center">
<headerstyle backcolor="#990000" font-bold="True" forecolor="White">
<alternatingrowstyle backcolor="White">
<columns><asp:templatefield>
<headertemplate>
<asp:label id="lblimg" runat="server" text=" ">

<itemtemplate>
<asp:imagebutton id="btnimgadd" runat="server" imageurl="~/add.gif">
ToolTip="Add Row" OnClick="bUpdate1_Click"
OnClientClick="javascript:setHidVal('AddRow');" />


<columns><asp:templatefield>
<headertemplate>
<asp:label id="Label1" runat="server" text="Name">


<itemtemplate>
<asp:textbox id="TextBox1" runat="server">
EnableViewState="true" Text='<%# Eval("Name")%>' Width ="100px" />




<columns><asp:templatefield>
<headertemplate>
<asp:label id="Label2" runat="server" text="ContactNo">


<itemtemplate>
<asp:textbox id="TextBox2" runat="server">
EnableViewState="true" Text='<%# Eval("contactNo")%>' Width ="100px" />




<columns><asp:templatefield>
<headertemplate>
<asp:label id="Label3" runat="server" text="Email">


<itemtemplate>
<asp:textbox id="TextBox3" runat="server">
EnableViewState="true" Text='<%# Eval("email")%>' Width ="100px"/>




<columns><asp:templatefield>
<headertemplate>
<asp:label id="Label4" runat="server" text="Designation">

<itemtemplate>
<asp:dropdownlist runat="server">
DataTextField="DesignationName" DataValueField="pkDesignationID"
EnableViewState="true" ID="ddldesg" Width="100px">
<asp:textbox id="TextBox4" runat="server">
EnableViewState="true" Text='<%# Eval("designation")%>'
Width ="100px" Visible="false"/>



--%>]]>
<asp:button id="btnSave" runat="server" text="Save" onclick="btnSave_Click">
OnClientClick="javascript:setHidVal('Save');" />

<triggers>--%>]]>
<asp:asyncpostbacktrigger controlid="btnSave" eventname="Click">


<asp:updateprogress id="UpdateProgress1" runat="server">
AssociatedUpdatePanelID="UpdatePanel1">
<progresstemplate>
Getting Data From Server.....







GeneralRe: Relate to Update panel Pin
Sandeep Akhare22-Apr-08 20:34
Sandeep Akhare22-Apr-08 20:34 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 20:41
Ankit At Codeproject22-Apr-08 20:41 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 20:21
Ankit At Codeproject22-Apr-08 20:21 
GeneralRe: Relate to Update panel Pin
Sandeep Akhare22-Apr-08 23:13
Sandeep Akhare22-Apr-08 23:13 
GeneralRe: Relate to Update panel Pin
eyeseetee22-Apr-08 3:31
eyeseetee22-Apr-08 3:31 
QuestionRe: Relate to Update panel Pin
Ankit At Codeproject22-Apr-08 3:34
Ankit At Codeproject22-Apr-08 3:34 
GeneralAjax and Browser positioning Pin
db0000722-Apr-08 1:46
db0000722-Apr-08 1:46 
GeneralRe: Ajax and Browser positioning Pin
eyeseetee22-Apr-08 1:53
eyeseetee22-Apr-08 1:53 
GeneralRe: Ajax and Browser positioning Pin
Sandeep Akhare22-Apr-08 3:27
Sandeep Akhare22-Apr-08 3:27 
QuestionNeed to sned data or mail to fogbugz api by using .net? Pin
subbu.sk22-Apr-08 1:27
subbu.sk22-Apr-08 1:27 
AnswerRe: Need to sned data or mail to fogbugz api by using .net? Pin
eyeseetee22-Apr-08 1:50
eyeseetee22-Apr-08 1:50 
GeneralRe: Need to sned data or mail to fogbugz api by using .net? Pin
subbu.sk22-Apr-08 2:09
subbu.sk22-Apr-08 2:09 
GeneralPassword Column in GridView Pin
Usharva22-Apr-08 0:32
Usharva22-Apr-08 0:32 
GeneralRe: Password Column in GridView Pin
Blue_Boy22-Apr-08 1:04
Blue_Boy22-Apr-08 1:04 
GeneralRe: Password Column in GridView Pin
Ashish Sehajpal22-Apr-08 2:05
Ashish Sehajpal22-Apr-08 2:05 
Questionvalidations not working with IE 7 Pin
Krazy Programmer21-Apr-08 23:50
Krazy Programmer21-Apr-08 23:50 
GeneralRe: validations not working with IE 7 Pin
eyeseetee21-Apr-08 23:57
eyeseetee21-Apr-08 23:57 

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.