13,153 Topics
| |
[CODE] <asp:TemplateField HeaderText="Grabbelpas"> <ItemTemplate> <asp:CheckBox id="lblGrabbelpas" Enabled="false" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' ></asp:CheckBox> </ItemTemplate> <EditItemTemplate> <asp:CheckBox id="txtEditGrabbelpas" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' /> </EditItemTemplate> </asp:TemplateField>[/CODE] [CODE]CheckBox txtGrabbelpas = (CheckBox)(myDetailsView.FindControl("txtEditGrabbelpas")); strSQL = "UPDATE leden SET LidID = "Grabbelpas = '" + txtGrabbelpas.Checked + "' " + " WHERE LidID = '" … | |
Hi, I am facing a strange problem here, I am using a webservice to send emails through my website. Strangly when I run the application through VS2008 web development server only one email is sent which is normal, but when I publish the website on IIS then two copies of … | |
hi,can any one tell me in stepwise how to setup my asp website on LAN. thnks in advance | |
Hi, In my application, The user compares few products and clicks on the save button. 1. The comparison should get saved in the db with unique Id. 2. It should generate an URL and present it to the user which shows the saved comparison . I have finished the first … | |
cud any one tell me how to search particular data from database using data grid..... i had three text boxes for firstname,lastname and age.. and a search button... when i enter anything in any of the first two text boxes i.e either firstname or lastname or both, and enter search … | |
I need some help here. I have a page which I am using the ToolkitScriptManager for the use of some AJAX Calendar Control Extenders, and that works fine. Where I am running into a problem is using the UpdatePanel. I am not getting a partial or any postback on a … | |
Hi, I've currently got a gridView which selects data from my table, it also has the URL of an image in one of the columns. I want an imageField which can then display the image from the URL thats provided in the image column. My datagrid: [img]http://i41.tinypic.com/25ivst2.jpg[/img] My code for … | |
An application I developed has its session variables reset within 5 minutes. My session variables were timing out when I was connected to a asp state server so I switch session state mode to SQL with the hope that it would fix my problem. Now I'm getting a different error. … | |
is it possible to get values from a asp.net to a php script? | |
I've been working on something with alot of iteration (foreach) and now that everything is working I'd like to optimize it by changing it to link. Currently I am trying to translate this foreach code to LINQ [CODE] int count = 0; foreach( string file in Directory.GetFiles( path )) { … | |
Hi everyone, I've got a shopping cart with a total amount label, this works perfect with the products, if a product quantity is changed the label also changes. I have a shipping type drop down list determined by which region the user is, I would like the total amount label … | |
Hi to all.. i have some doubts in my mind that what should i remember when i uploaded a asp.net website to live server and also if i use database then what precautions should i take so that my website will not hamper with these issuess.. | |
Hey all, In sharepoint , where "personal/administrator" folder exists ? [url]http://xxxxx/personal/administrator/default.aspx[/url] I searched out whole Microsoft Shared folder, but didn't found either "personal /administrator" folder or default.aspx (other than control folder, which is predefined ASP controls ) Regards, gptArun | |
Hello there, I am developing sharepoint web site with ASP.NET . Stucked in home page design [didn't found home page]. I found default.master.aspx file but it changes all pages design. You have any idea ? googled out but didn't find nearby result. :( regards | |
Dear friends, I have a tab container with many tab panels in it. In each tab panel, I have a GridView which has an Edit button in each row. When Edit button is pressed, it turns into an Update button, and all fields become editable. When the Update button is … | |
Hi guys and gals I am new to the forums and was referred here by some friends. I am creating a site for a Xerox partner, and I am trying to pull content (a certain div) through, from the Xerox site, to mine, without pulling through the entire site. I … | |
I've been trying to pass the url from previous page that i was at. But lets say from a different web to my web. i've tried [CODE]Page.Request.UrlReferrer.ToString[/CODE] but it seems like it only works within the same web project only. any ideas? | |
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server" > <script type = "text/javascript" src = ""> function click() { new Ajax.Request('Handler.ashx', { method: 'get', onSucess: function transport() { var response = transport.responseText(); var Obj = response.evalJSON(true); for (i … | |
Hi I have trouble understanding, when I have to override and why I have to override. I'm using a WebUserControl I tried to use [CODE]Protected Sub Overrides OnPreRender(ByVal writer As System.Web.UI.HtmlTextWriter)[/CODE] but then I get the error [QUOTE]sub 'OnPreRender' cannot be declared 'Overrides' because it does not override a sub … | |
Hi, I have set the content of a listbox through databinding. [CODE] myListBox.DataSource = myDataSource myListBox.DataTextField = "column01" myListBox.DataValueField = "column02" myListBox.DataBind() [/CODE] I have then set the selected index of the listbox using a loop [CODE] Dim myValue As Integer = [I]someValue[/I] Dim myListItem As ListItem = New ListItem … | |
Hi all, I've uploaded my asp.net site to my ISP. It works fine locally on VWDE 2005, in that I can create users, assign them to roles, and control role access to website folders etc. Obviously this is all with SQL 2005 Express on my PC. When I upload it … | |
I’m stumped! I have an application I developed which has its session variables reset at odd times with no perceivable reason. I have a dedicated server; I have the .net session state service running. I have the following code in my web.config file [code=VB] <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="45"/> [/code] … | |
When to use WCF and when to use Web Service? Would it be possible to call a WCF service from Javascript ?? | |
| Hi to all, I have installed VS2008 pro in Xp sp2 pro. I have a problem with positioning of the controls while in the Design mode during a webpage development. Whenever I Add a "BUTTON" or any control in the form and want to drag it anywhere within the form … |
Hi, I had a problem when display the total amt from sql to textbox ------------------------------ create table get(Currentdate varchar(200),Expenses varchar(200),Amount decimal(38,2))-this a table ------------------------------ asp.net codings -------------------------- mycomm.CommandText = "SELECT sum(Amount) from get" dr = mycomm.ExecuteReader While dr.Read() TextBox6.Text = dr.GetDecimal(2) End While dr.Close() -------------------------------------------------------------- Error: Index was outside the … | |
Hi, I am using RegularExpressionValidator to validate EmailID where ValidateExpresion is:: \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Actually i want to validate EmailID that can also contain spaces. example:: < [email]raman@gmail.com[/email] >,<raman@gmail.com>,< [email]raman@gmail.com[/email]> I want to validate all of the above Email IDs as Valid. Please help me Thanks in advance | |
I am usind ajax modal popup extender control.I used following code. </cc1:ModalPopupExtender> <asp:Panel ID="pnlConfirm" runat="server" Width="328px" Visible="False" CssClass="modalBackground" > <asp:Label ID="lblConfirm" runat="server" Text="No employee is marked as absent,do you want to continue?" Width="409px"></asp:Label><br /> <br /> <asp:Button ID="btnYes" runat="server" Text="Yes" CausesValidation="false" UseSubmitBehavior="false" CssClass="button" Width="34px" /> <asp:Button ID="btnNo" runat="server" Text="No" CssClass="button" … | |
[B]Please help me with this problem i need a tab control on a web page , pls guide me how to design it and if possible with a short example , thanks in advance to everyone [/B] | |
[QUOTE=reach_yousuf;727359]Master Page [CODE] <%@ Master Language="VB" AutoEventWireup="false" Codebehind="MainMaster.master.vb" Inherits="Focus.MainMaster" %> <%@ Register Src="WebUserControl1.ascx" TagName="WebUserControl1" TagPrefix="uc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <uc1:WebUserControl1 ID="WebUserControl1_1" runat="server"></uc1:WebUserControl1> <div> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Button ID="btnMasterPageButton" runat="server" Text="MasterPageButton" /> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> … | |
I have come across a requirement to dynamically show or hide asp.net web controls , html server controls. I want to do this through a configuration XML. So each page /aspx will have a configuration xml. Would it be possible to create a control (may be a custom control , … |
The End.