User Profile
Collapse
-
I am adding data to a table in the code behind and then i attempt to set the text of the label in the panel to "The record was successfully saved" and then pop up the panel as a sort of message box. -
the pop up is just a sort of confirmation box that has a message and an ok button. Can you please elaborate or show me some kind of exampleLeave a comment:
-
asp panel : How to make it pop up in the centre of the page when run
Hi Guys,
I have an asp panel,an associated drag panel extender, a label and an OK button that serves as a message popup. i would like this pop up to show up in the centre of the browser window when the page is run.
can someone please help me
My code is below. i am using master pages
Code:<asp:Panel ID="MessagePanel" runat="server" Style="z-index: 100; left:
-
how to programatically call a gridview event from codebehind.
hi guys,
I have 2 gridviews, one inside a modal popup(gvSupplie rs) and one on the page(gvFirms). The header row of the gvFirms has 4 text boxes. I can find those controls easily inside the selectedindexCh anged method of gvSuppliers easilly when one row gvSupliers is selected. My problem arises when i try to find the 4 textboxes inside the emptydatatempla te of gvFirms.
Eg.
Code:protected void gvSuppliers_SelectedIndexChanged(object
-
grid View count pages
Casn some one help me do this.
I have a label above a gridview that suppose to show
"Records 1 to 10 of 1000"
well not exxactly that but the actual record count of the gridview etc. this label is supposed to change when the page of the grid view changes.
What events do i tie this to and how do i get the values to set the label text? -
sorry guys,
thanks anyway.
it is working
somehow i set the selected date to be todays date in page load.
Deleted it and it works perfectly
thanksLeave a comment:
-
can not select todays date with asp calendar within an update panel
Hi guys,
I have an asp calendar control, text box, calendar icon, eraser icon all within an update panel. The calendar works fine, postbacks are handled without the flickering of the screen etc. my only problem is that i can not select today's date to display in the text box because by default, today's date is the selected date.
Code:<asp:UpdatePanel ID="UpdatePanel_start" runat="server" ChildrenAsTriggers="true"
-
Crystal Rports within.net - Server connection
Hi guys,
I have a .net project. Pretty simple, one web form, 1 database, 1 crystal report.
Based on the criteria selected in the form, the crystal report will be shown. It works fine.However, i built it for someone on my home pc. It is connecting to sql server express using windows authentication and when i build and run it at home from within visual studio, it works fine.
I gave my friend all the necessary files, however... -
menu on master page and <noscript> tag
hi guys,
here is my problem,
i have a masterpage that has a menu. on my homepage, i added the <noscript> tag to verify if the user has scripting enabled or not in the browser. When scripting is disabled and the error message is shown, the menu which is part of the masterpage,is disabled also so unless the user enables scripting,then the menu is non functional.
i wanted to know why this is happening... -
thanks
Code:<%@ Page Language="C#" %> <!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> <noscript>No JavaScript support!</noscript> <p>A browser that does not support
Leave a comment:
-
<noscript> not working
Code:<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="JavaScript" type="text/javascript"> </script> <noscript> <b>Please</b> Try this page for browsers that can not handle SCRIPTing.
-
thank you for you suggestion,
i did view the generated source code and what i discovered was that there was no code for the labels since i had initially set them to be NOT visible, so when the page is loaded it was causing the error. i set the labels visible=true and i believe it is working now.
thank you so much. i am going to play around with it a little bit and if anything else occurs, i will post back
...Leave a comment:
-
javascript within asp.net framework, document.getElementbyId error
hi guys,
here is my problem. i have a js function called changemsg that takes a label in an aspx page and sets its text to blank.
Code:<script type="text/javascript" > function changemsg(lbl){ document.getElementById(lbl).innerHTML=" "; } </script>
-
-
thank you, that works
is there also a way to change it with c# using the id?Leave a comment:
-
horizontal rule visible and not visible
Hi Guys,
Can a horizontal rule be visible and not visible within the <td> tag of a row on a table?
Code:<tr> <td colspan="4" style="height: 20px; text-align: left" valign="middle"> <hr id ="hr" style="width: 75%" visible="false" > </td> </tr>
-
making a Horizontal Rule visible and not visible
Hi Guys,
Can a horizontal rule be visible and not visible within the <td> tag of a row on a table?
Code:<tr> <td colspan="4" style="height: 20px; text-align: left" valign="middle"> <hr id ="hr" style="width: 75%" visible="false" > </td> </tr>
-
dropdown list and databinding issue
hi guys,
I am using Visual Studio 2005. I have a dropdown list that has an associated SQLdatasource. I also have a textbox below the dropdown list that allows you to add items to the table that the datasource is associated with.After entering a new item into the table that the datasource is tied to, i would like to "refresh" the dropdown list so this is what i did
manuDropDownLis t.Items.Clear() ;
manuDropDownLis t.DataBind();... -
numbers and a full stop regular expression
hi guys,
how can I validate a textbox with a reg exp validator that says that the textbox must have only digits and no more than one full stop....I am testing for a float.......eg
the user can enter 4, 69, 60.356,7.3,2456 4
can some one please help me with this expression -
Hi guys,
I figured it out, Here is the code
This is the call to the function in the pageLoad method
Account.Attribu tes.Add("onFocu s", "changemsg('ctl 00_ContentPlace Holder1_Account Label');");
this is the javascript function
<script type="text/javascript">
function changemsg(lbl){
document.getEle mentById(lbl).i nnerHTML="...Leave a comment:
No activity results to display
Show More
Leave a comment: