|
because if you see mozila firefox-> tools->option
it provides the option to disable enable java and active x on browser and once you checked it its always enable for browser.
while in intenet explorer the javascript and java support is on ask mode so it gives error.
|
|
|
|
|
hi experts.
i have a several special characters in my column
like example
goes here
empno emp name
1 ve?u.r
2 raj
3 venki
4 Stáció
5 gái
6 Vecsés
7 Mosonmagyaróvár
8 sachin
i want to list out the names with only special charactersand shuld get the values in my page
regards
venu
|
|
|
|
|
Hi,
I have a COM Dll, when referenced in Window App, works fine. But behaves strangely in ASP.NET.
Can you suggest me the reason for the same.
Thanks
|
|
|
|
|
Is it possible to store more than one value in HttpCookie ...
|
|
|
|
|
HttpCookie MyCookie = new HttpCookie("Cookie1");
MyCookie.Values["Val1"] = "1";
MyCookie.Values["Val2"] = "2";
MyCookie.Values["Val3"] = "3";
Response.Cookies.Add(MyCookie);
|
|
|
|
|
Hi,
In gridview with paging if the number records will high, then the page numbers displayed in the bottom also increased. So the grid width increases.
Is there is any way to display the numbers using Dots so that only the first 10 pages will be displayed after that it increased depends upon the total pages.
|
|
|
|
|
you need some inline coding and a bit of css in it.
try the site asp.net /samples
or google it "gridview displays" or "gridview display examples" also try ajax on it.
|
|
|
|
|
set Pagesize="10"
and add below code in .aspx page
<PagerSettings Mode="NumericFirstLast" NextPageText="" Position="TopAndBottom" PreviousPageText="">
</PagerSettings>
may be it will work..
|
|
|
|
|
hi,
I have a textbox.I have to trigger an event whenever any key is prressed except the alphabets and numbers like event trigger on when tabg button is pressed.I have used textchanged event but it only worked for enter key.
regards,
Bill
|
|
|
|
|
Its quite difficult to answer unless and until you have put the code for that section.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
use javascript..
onblur()
|
|
|
|
|
What is the difference between Sqldata reader,Sqldata adapter with dataset and Sql datasource? Which is the best and effective method for database operations?
|
|
|
|
|
|
i have a datetime field,its name is modifydate. i want 2 previuse day of modifydate. what should i do in c#. plz help
|
|
|
|
|
you need to use timespan function or you can also use
System.DateTime dtTodayNoon = new System.DateTime(2006, 9, 13, 12, 0, 0);
System.DateTime dtTodayMidnight = new System.DateTime(2006, 9, 13, 0, 0, 0);
System.TimeSpan diffResult = dtTodayNoon.Subtract(dtYestMidnight);
Government Dyal Singh College Lahore.
|
|
|
|
|
The OP was not asking for the difference between 2 datetimes, he asked for a datetime minus 2 days
|
|
|
|
|
Buy a basic ASP.NET book and read it. Learn to use intellisense to investigate methods on a class. Learn to use google, and the MSDN site in particular. Asking in the right forum ( this has nothing to do with ASP.NET )
The DateTime class has everything you need.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
As counter-intuative as it might seem at first glance, it is totally appropriiate to supply a negative number to the AddDays[^] method on a DateTime.
|
|
|
|
|
There is dropdownlist on my page which showes country name. on click of country name popup will get display which showes companyname of selected country , and same dropdown will again get display.
In Popup dropdownlist ,it will display selectedItem value (CountryName)as which we have selected from main page.
for tht i have return code as follwes
drdCountry.DataTextField = "CountryName";
drdCountry.DataValueField = "CompanyCount";
drdCountry.DataSource = dsCoverageList.Tables[0].DefaultView;
drdCountry.DataBind();
drdCountry.SelectedItem.Text = Request.QueryString["CountryName"].ToString();
drdCountry.SelectedItem.Value = Request.QueryString["CompCount"].ToString();
but prob is on popup page in dropdownlist is showes duplicate value of selected item
means suppose i have selected US (CountryName) from main drplist thn in popup page is showes US 2 times in DrpList.
why is it so??..
please help me out..
|
|
|
|
|
use page.ispostback check on page load
or clear dropdown list before filling it...
Government Dyal Singh College Lahore.
|
|
|
|
|
i have writ code in (!IsPostBack)
still its not working..
|
|
|
|
|
Hi,
What namespace should I use in order to access the Membership.ValidateUser() method?
I have added using System.Web.Security and I have added System.Web in the References folder but I cannot access Membership????
Illegal Operation
|
|
|
|
|
using System.Data.OleDb;
|
|
|
|
|
Have you added the right dlls to your project ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I found the issue.
I had a folder named Membership. I changed the name of the folder and the inheritance of the code behind and now it works!
Illegal Operation
|
|
|
|