|
hi...
how should i access the button id which is placed in the template column of gridview.and i want to wite the funciton in javascript at source file.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Is there any option for this _AD_UserLogged_Name.Split(new char[] { '\\' }); to split a string without using substring.
Pandi
|
|
|
|
|
What do you want exactly ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have an Add button which adds each row to the grid then while i click save i takes a bulk record and sends to stored procedure.So i have to take the content of gridview whenever an Add button is clicked.When paging is done I am not able to do that.Otherwise my code is working.
kavitha
|
|
|
|
|
Not clear if it is working. plz to check grid pageing if ur r missing something.
also check ispostback on form load.
Devjit Das.
|
|
|
|
|
I have a gridview ,i have done paging for that grid.In a method i have to retrieve all the records from gridview to datatable.It shows the error IndexOutofRange because page size is 5.Actually 12 records are there.What to do?
kavitha
|
|
|
|
|
Thavika wrote: It shows the error IndexOutofRange because page size is 5.Actually 12 records are there.What to do?
You obviously need to read the data source seperately if you want to access all the data and not just the stuff being shown by the grid.
Thavika wrote: :Re: Asp.net
Try to think of an intelligent, descriptive subject next time, pls. If everyone who posted an ASP.NET question put 'ASP.NET', how would that help ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
When I use a Master Page in website (asp.net) then this website not execute in IIS.
Display Error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://localhost/Mcp1/Forms/Default2.aspx'. Line ...
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="...
|
|
|
|
|
Your post doesn't actually make sense, but I *think* you're saying you're using a master page and the page isn't loading ? That means you have errors in your page.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi I have a xml file like,
"
Books
Book ID="001"
Author Mark /Author
Publisher Sams /Publisher
/Book
Book ID="002"
Author Joe /Author
Publisher AWL /Publisher
/Book
Book ID="003"
Author James /Author
Publisher Spect /Publisher
/Book
Book ID="004"
Author Thomos /Author
Publisher McHill /Publisher
/Book
/Books
"
My form has Three Text boxes to display BookId,Author and Publisher and
also four Buttons with names First, Next, Previous and Last resp.
Now what my question is I want to get the data from xml file and display in textboxes for the respective button events without using any dataset by using Xml Objects.
It may be looks simple for someone, I'm new to XML
Thanks
Hari
|
|
|
|
|
The easiest way to do this would be to load the Xml into an XmlDocument, use SelectNodes to get a collection of nodes that represent each book, and then build the buttons from there. An intermediate class that represents a book may be useful, too.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I say when use a master page in my application. then application not execute in localhost (IIS). I am trying to execute the application then display the error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://localhost/Mcp1/Forms/Default2.aspx'. Line ...
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="...
|
|
|
|
|
Yeah, you said that on anothe thread entirely...
Looks to me like ASP.NET 2.0 is not set up on your machine.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
how to validate character of text box for example any user pass in text box SIP:test1@ocs.lcs.local so i want validate SIP is always in capital later.plz help me
Piyush Vardhan Singh
|
|
|
|
|
if you want that things...you have to use regular expression using regularexprsn validator...or you can make it that textbox property Text=SIP(its always displaying SIP in that textbox)
|
|
|
|
|
thanks for rply i want validate this conditional not always.for this when i controlTovalidat blank then its occur error
Piyush Vardhan Singh
|
|
|
|
|
make it controltovalidate property =ControlId
|
|
|
|
|
i have radio button on page it have three item
1=piyush
2=rajuu
3=india
i using validation for that time when i select India not for alwaya
Piyush Vardhan Singh
|
|
|
|
|
Use regular expression to validate.
Devjit Das
|
|
|
|
|
|
i have radio button on page it have three item
1=piyush
2=rajuu
3=india
i using validation for that time when i select India not for alwaya
Piyush Vardhan Singh
|
|
|
|
|
Hi,
I am new in asp.net
<asp:Menu ID="EntertainmentMenu" Width="100Px" runat="server" Orientation="Horizontal">
<DynamicMenuItemStyle BackColor="LightSkyBlue" ForeColor="Black" BorderStyle="solid" BorderWidth="1" BorderColor="Black" Width="180px" />
<Items>
<asp:MenuItem ImageUrl="Images/browseaticket.GIF" NavigateUrl="#">
<asp:MenuItem Text="CONCERTS" />
<asp:MenuItem Text="NFL" />
<asp:MenuItem Text ="THEATRE" />
</asp:MenuItem>
</Items>
</asp:Menu>
Here it displays the background color well on MenuItem while Expand the Menu.But i need to display the color while "Mouseover" on the MenuItem.
Please help me.
|
|
|
|
|
hi,
set the color attributes in StaticHoverStyle like..
<StaticHoverStyle ForeColor="Red" />
by
siva
|
|
|
|
|
Yes Shiva i used as for static menu as <StaticHoverStyle ForeColor="Red" />
for Dynamic menuitem i used as <DynamicHoverStyle Forecolor="Black" />.
It displays well in my view.
Thanku shiva.
|
|
|
|
|
See this site..
www.javascripter.com/faq
|
|
|
|