40 Topics
![]() | |
I Have three form Home.aspx and Login.aspx Details.aspx on home.aspx i have two iframe in iframe one i open login.aspx in Login.aspx i have a button btnChangePage now i want to assign src property of second iframe dynamically ( src="details.aspx" ) on btnChangePage_Click Please if u have any suggetions please … | |
how to save that text boxes data into database ,by using this button evet,please tell me iam fresher. < protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) Session.Remove("clicks"); } protected void Button2_Click1(object sender, EventArgs e) { int rowcount = 0; rowcount = Convert.ToInt32(Session["clicks"]); rowcount++; Session["clicks"] = rowcount; for (int … | |
create edit button beside treenode in asp.net webapplication project with c# codings #how to create edit button beside treenode# | |
Hello,I've a gridview control and inside a cell, i've put 3 radiobuttons under a same group. I'm not able to get which radio button is selected through checked property. As checked property is giving false always, when i check it with breakpoint. How can i get a the selected value … | |
I need to change the background image of a button that is declared in xaml, like this: <Button x:Name="btnBorder" Content="Moldura" Width="80" Height="80" Margin="10,6,10,6" Click="btnBorder_Click" > <Button.Background> <ImageBrush ImageSource="/Images/arrow-expand.png" AlignmentX="Center" Stretch="None" x:Name="imgSourceArrow" /> </Button.Background> </Button> and I'm trying to change the ImageSource of the ImageBrush. For that, I'm using this code … | |
Hi all, I need to change label text dynamically for two operations on webpage in asp.net. First,when file uploading is completed label should show 'upload completed'. After that it will perform validation process and later will show the message 'validation complete'. I have two methods that will be called one … | |
Hi folks, I have an ASP page. I have a label and button on that page. label shows data from database. lets say i have 100 rows in database Now when I run my page i want to see first row data on my page label... and when user click … | |
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0"> <asp:View ID="View1" runat="server"> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br /> <asp:Button ID="Button1" runat="server" Text="Next View" OnClick="goToSecondView_Click" BackColor="Red"/> </asp:View> <asp:View ID="View2" runat="server"> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><br /> <asp:Button ID="Button2" runat="server" Text="Go Back" OnClick="goToFirstView_Click" BackColor="Blue" /> </asp:View> </asp:MultiView> </div> </form> … | |
Can you please help me? Im working on with a simple program wherein if the button is clicked, the person will be notified in his/her email. .aspx page will be seen in the email body. Thank you for your responses! | |
I have 8 ajax tabcontainers in my page.On the top of the page I have one button "Collapse All".When I click on the button all the tabcontainers should be collapsed. Please help me how to achieve this functionality. | |
Imports System.Windows.Forms Partial Class ExisitingApplication Inherits System.Web.UI.Page Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click If Me.txtLastN.Text = "" Then Dim erMsg As Windows.Forms.DialogResult = MessageBox.Show("Must enter Last Name.", "Search", MessageBoxButtons.OK) End If 'Define connection string with datasource Dim str As String = ConfigurationManager.ConnectionStrings("SqlDataSource1").ToString 'Define sql … | |
I want to create a button dynamically (image, image button or simple button) to show text and image both, in asp.net using C# . But I am not able to do it because its shows either image property or text property. How to do it please help me. | |
How to use commandName in hyperlink control similar to Link button for some backend process. I want Text of Hyperlink Which is clicked From a group of Hyperlinks to identify which hyperlink is clicked and based on it some backend code should be executed.How to retrieve the Text of Hyperlink … | |
Hi, I am designing a website in asp.net. In the master page buttons change their postion and overlap when rendered in a browser. Please help me out. Thank you in advance | |
like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws … | |
Hi Everyone I have been programming on Linux for about 8 years part time. I have learned many languages and I am not afraid of using them. However I have learned to fear build systems, operating systems and IDEs. I have been going around in circles for years with Gui … | |
How to get the imgbtnView image button in gridview to display the row of data? i try to use modelpopupextender but the targetid is invalid because the image button is in the gridview. when click on imgbtnView, solistPanel will be display now i cant display the solistPanel. please help <table … | |
Hey folks I've finally figured out how in WPF to template all my buttons so they all behave they way I want. Basically, I want all my buttons, when clicked, to drop down and to the right a few pixels then pop back up. The problem is, I can't set … | |
I have a row of buttons in a gridview that are created dynamically. When the button in a cell is clicked, the row disappears. Not sure why. Does anyone have a solution to this? Here is my code: Protected Sub GridView2_RowDataBound(sender As Object, e As GridViewRowEventArgs) If e.Row.RowType = DataControlRowType.DataRow … | |
I have a Gridview that I need to add a button for each row and need to do this programmatically. I am able to add the button, but I am missing something as it is creating a new column and adding the button only in the new column. When the … | |
Hello, i need some help here, i want to change Edit,Select,Delete linkbutton in the gridview to be outside the gridview, i have tried to hide the 3 button and make another button outside gridview, but i dont know how to make a link between all the button. this is my … | |
Hello, Something really weird started happening in my web application. I have some buttons defined in a Master Page File and then I have a lot of pages that derive from this Master Page file. One of the buttons (In the master page file) closes the user session. This means … | |
Hi , In my application I have to implement Tooltip for Link Button. When mouse hover on link button , I should get a Tooltip. It can be a Telerik ToolTip as well. Please help me with this concept. I need step by step process for implementing this. Regards. | |
how to enable my button if all the required textbox is not null | |
Hi ! i m working on asp.net project and using c# for it , i want to place my delete button on the right most of the gridview , by default button is placed at left side of the grid , can any one please help me . as i … | |
Hello! I need code that will allow the user to do the following: 1. Select a browse button and choose the folder they want to save a file once the exe file at the end of the program runs 2. Display the folder location the user selected in the textbox … | |
I created a browse button and it will allow the user to either open or save a file to their directory, but the problem I am having is how to be able to view the path location in a textbox so the user can see where they saved it... here … | |
Hello guys, I found a lot examples about this one but I still don't have it all working. So the thing is that I have a button in my C# web application called Export to Excel. The functionality should works as if the button is clicked - it just simply … | |
Hello, I'm currently working on an advanced 4x4 multilayer tic tac toe(will include servers, and accounts with levels and xp). Now the problem i have is that i have a image (.png) of a piece(representing X or O) and I want the button that you click to place your X … | |
im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> … | |
Hi all, My first time here. I'm quite the newbie when it comes to ASP after coding in VB6. Frankly I'm stumped by something I'm sure should have a simple solution. Here's a very basic snippet of what I'm trying to do, so the problem (and hopefully the solution) is … | |
Hi:)the problem im facing is that i created a control Textfield.Example :the user types in 75000 in the textfield and after he or she presses enter the List view appears. But i want them to hit a button so after hitting the button the list view appears?plz help | |
i have code [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $('#<%= btnTest.ClientID %>').click(function () { var checkedControls = $('#<%= CheckBoxList1.ClientID %>').find('input:checkbox:checked'); if (checkedControls.length > 0) { alert('Valid'); } else { alert('Please select atleast one checkbox'); } return false; }); }); </script> </head> <body> … | |
Is it possible to disable close[x] button of the popup window? I use Window.Open() to open the popup window. If possible help me to try out this. | |
Hi, I'm reasonably new to C# and even newer to WPF projects in C#, i'm having a lot of trouble getting to grips with how to use the template property and its doing m head in. Firstly an explanation of what I am trying to achieve: I am working on … | |
Allo all, I'm using a DataSet to collect a random comparison from a database, and then passing those values to Public Variables, then constructing two Insert Statements (which shows on screen, and is valid). With the [B]two Insert Statements[/B], I'm using two buttons (in an ASP.NET Page) that Call a … | |
Hai all, how to have default button in a content page. currently if i hit enter ket my master page search getting fire. i also place my master page in panel. for content for also i placed the button inside panel and set panel default button. but still my master … | |
i have 2 gridview. i put this java script for chekbox, my id is [email]<<Email Snipped>>[/email] plz help me , if u knw the ans thn plz reply me , thank you [code] <script type="text/javascript"> // Let's use a lowercase function name to keep with JavaScript conventions function selectAll(invoker) { … | |
when we use download data() of webclient() , it returns the data in the form of bytes... then this bytes we do response.binarywrite() such that it opens dialog box to "save", "open" , "cancel" is there any way that we can trace programatically, that user has actully save button to … | |
HI there. We are currently creating a page which contains (a) 10 Check Boxes (b) for each check box there is a radio button list with 10 values. What we want to achieve is the following When e.g. The first checkbox is checked, the forst radio button list should be … |