Click here to Skip to main content
15,886,806 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: setting value of a control in ascx via aspx Pin
Christian Graus16-Nov-09 14:59
protectorChristian Graus16-Nov-09 14:59 
GeneralRe: setting value of a control in ascx via aspx Pin
uglyeyes16-Nov-09 15:06
uglyeyes16-Nov-09 15:06 
GeneralRe: setting value of a control in ascx via aspx [modified] Pin
uglyeyes16-Nov-09 15:14
uglyeyes16-Nov-09 15:14 
GeneralRe: setting value of a control in ascx via aspx Pin
uglyeyes16-Nov-09 16:48
uglyeyes16-Nov-09 16:48 
QuestionWorking with Themes Pin
FJJCENTU16-Nov-09 12:19
FJJCENTU16-Nov-09 12:19 
AnswerRe: Working with Themes Pin
AlexeiXX316-Nov-09 13:45
AlexeiXX316-Nov-09 13:45 
AnswerRe: Working with Themes Pin
sashidhar16-Nov-09 17:53
sashidhar16-Nov-09 17:53 
Questionpost back issue Pin
Tauseef A16-Nov-09 10:45
Tauseef A16-Nov-09 10:45 
i have the following code, i have a method named bindgrid(),
when i call this method with
if (postback==false) bindgrid();
i dont any problem

but if i do it only like bindgrid on page load event
so my button command does not work and also my edit command in gridview
does not work , although its working with is postbak ==false ,
but can you please tell me that where is the actual problem ,,

thanks , my code is bellow


<asp:scriptmanager id="ScriptManager1" runat="server">

<asp:updatepanel id="upanel" runat="server">
<contenttemplate>

<asp:gridview id="GridView1" runat="server"
="" autogeneratecolumns="False" datakeynames="customerid" showfooter="True" bordercolor="White" borderstyle="Ridge" borderwidth="2px" cellpadding="3" cellspacing="1" allowpaging="True" horizontalalign="Left" pagesize="5" onpageindexchanging="GridView1_PageIndexChanging" onrowcancelingedit="GridView1_RowCancelingEdit" onrowcommand="GridView1_RowCommand" onrowdeleted="GridView1_RowDeleted" onrowdeleting="GridView1_RowDeleting" onrowediting="GridView1_RowEditing" onrowupdated="GridView1_RowUpdated" onrowupdating="GridView1_RowUpdating" onselectedindexchanged="GridView1_SelectedIndexChanged" width="1003px">

<rowstyle backcolor="#DEDFDE" forecolor="Black" wrap="True">
<columns>
<asp:templatefield headertext="Customer ID">
<footertemplate>
<%--<asp:button id="b2" backcolor="blue" commandname="Add" runat="server">--%>
<asp:button id="btnsave" text="Insert Record" commandname="Add" runat="server">
<asp:textbox id="add_customerid" runat="server">

<itemtemplate>
<asp:label id="lblcustomerid" runat="server" text="<%#Eval("customerid") %>">'


<asp:templatefield headertext="Company Name">
<itemtemplate>
<asp:label id="lblcompanyname" runat="server"
="" text="<%#Eval("companyname") %>">'

<edititemtemplate>
<asp:textbox id="up_txtcompanyname" runat="server" backcolor="green">

<footertemplate>
<asp:textbox id="add_txtcompanyname" runat="server">


<asp:templatefield headertext="Contact Tiltle">
<itemtemplate>
<asp:label id="lblctitle" runat="server" text="<%#Eval("contacttitle") %>">'

<edititemtemplate>
<asp:textbox id="up_contacttitle" runat="server" backcolor="green">

<footertemplate>
<asp:textbox id="add_contacttitle" runat="server">


<asp:templatefield headertext="City ">
<itemtemplate>
<asp:label id="lblcity" runat="server" text="<%#Eval("city") %>">'

<edititemtemplate>
<asp:textbox id="up_city" runat="server" backcolor="green">

<footertemplate>
<asp:textbox id="add_city" runat="server">


<asp:commandfield cancelimageurl="~/Cancel.gif" deleteimageurl="~/Delete.gif"
="" editimageurl="~/Edit.gif" showdeletebutton="True" showeditbutton="True" updateimageurl="~/Update.gif" buttontype="Image">

<footerstyle backcolor="#C6C3C6" forecolor="Black">
<pagerstyle backcolor="#C6C3C6" forecolor="Black" horizontalalign="Right">
<selectedrowstyle backcolor="#9471DE" font-bold="True" forecolor="White">
<headerstyle backcolor="#4A3C8C" font-bold="True" forecolor="#E7E7FF">
<editrowstyle wrap="False">




Tauseef A Khan
MCP Dotnet framework 2.0.

AnswerRe: post back issue Pin
Christian Graus16-Nov-09 11:09
protectorChristian Graus16-Nov-09 11:09 
QuestionRe: post back issue Pin
Tauseef A16-Nov-09 23:30
Tauseef A16-Nov-09 23:30 
QuestionChanging ConnectionString Pin
sparlay_pk16-Nov-09 6:09
sparlay_pk16-Nov-09 6:09 
AnswerRe: Changing ConnectionString Pin
Abhijit Jana16-Nov-09 6:12
professionalAbhijit Jana16-Nov-09 6:12 
GeneralRe: Changing ConnectionString Pin
sparlay_pk16-Nov-09 6:27
sparlay_pk16-Nov-09 6:27 
GeneralRe: Changing ConnectionString Pin
sparlay_pk16-Nov-09 6:31
sparlay_pk16-Nov-09 6:31 
GeneralRe: Changing ConnectionString Pin
Abhijit Jana16-Nov-09 6:37
professionalAbhijit Jana16-Nov-09 6:37 
GeneralRe: Changing ConnectionString Pin
sparlay_pk16-Nov-09 6:44
sparlay_pk16-Nov-09 6:44 
AnswerRe: Changing ConnectionString Pin
dan!sh 16-Nov-09 6:16
professional dan!sh 16-Nov-09 6:16 
GeneralRe: Changing ConnectionString Pin
sparlay_pk16-Nov-09 6:57
sparlay_pk16-Nov-09 6:57 
AnswerRe: Changing ConnectionString Pin
sparlay_pk16-Nov-09 6:59
sparlay_pk16-Nov-09 6:59 
GeneralRe: Changing ConnectionString Pin
Gamzun16-Nov-09 7:39
Gamzun16-Nov-09 7:39 
AnswerRe: Changing ConnectionString Pin
satalaj16-Nov-09 19:25
satalaj16-Nov-09 19:25 
QuestionA simple composite control Pin
markymark8216-Nov-09 5:54
markymark8216-Nov-09 5:54 
AnswerRe: A simple composite control Pin
dan!sh 16-Nov-09 6:25
professional dan!sh 16-Nov-09 6:25 
GeneralRe: A simple composite control Pin
markymark8216-Nov-09 23:22
markymark8216-Nov-09 23:22 
QuestionEmbedding Search engine in ASP.NET applications! Pin
tunsten16-Nov-09 5:02
tunsten16-Nov-09 5:02 

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.