|
I have datalist which contains product id,product image and quantity in dropdown box and a add to cart link button...when i click the button o need to pass the product id and quantity selected in the dropdownlist to function in the code behind file..
pls help me by givibg some valuable suggentions to overcome this task
ravi kumar reddy
|
|
|
|
|
Hi,
i used a treeview for Group creation form of accounting work
This treeview structure as showns below,in this form i created
primary groups are Asset,Liablity,Expences,income .....
also i created under the secondary group Fixed asset under the
Primary asset,but one problem is that,double click the secondary
then show creating the duplicate data again and again...........
how can we avoid this,please help me.....(double click is the problem)
i used one click in fixed asset it shows the corrosponding data on
textboxes it works properly....please help me
-- treeview---
Groups
--
+ Assets (primary)
? fixed asset (secondary)
? fixed asset
? fixed asset
+ Liabilities (primary)
+ Expenses (primary)
+ Incomes (primary)
+ Bank (primary)
+ Purchase (primary)
+ Sundry Debtors (primary)
+ Sundry Creditors (primary)
|
|
|
|
|
On a web site I published (pre-compiled) last night, I get the following error. Before pre-compiling it, I was getting a compiler error that a User Control was not found. After compiling on another machine, and running, I get the following Parser error:
"Cannot create an object of type 'System.Type' from its string representation 'System.Int32' for the 'DataType' property" was the, now runtime, parser error I got. The offending tag is
"telerik:RadNumericTextBox .... DataType="System.Int32".... "
I emphasise that this error only occurs on XP SP2, not on Vista and Win7. I'm off to do some Googling and issue logging at Telerik.
|
|
|
|
|
Hi All,
I using tinymce editor it is fine, but i want to do the same think like in joomla that, when i will found a tring for example i want to put link read more and cut text after that link clear complete text from database like Substring.Lenght(0,0);
any idea how to do it
greg
|
|
|
|
|
Hello there,
I've been searching around the web for a particular issue but i can't fing the exact answer i'm looking for. I want to achieve this kind of style for my controls http://xs538.xs.to/xs538/09153/sc2a813.jpg[^]
If it was a desctop application i would make a base usercontrol, define all the common properties and rendering and then inherit the base control for each of the needed controls.
HOWEVER this trick doesnt word for web? When i define a base UserControl and i add some controls to it, save it , build it and then try to inherit from it, the result control does not HAVE any of the parent's defined controls.
Markup cannot be inherited ?
What is the most correct way to achieve this kind of control style ?
|
|
|
|
|
In my form, there is a javascript error relating to some css code. But the code behind the aspx looks fine, cannot findout any error. The funny thing is the page works correctly in Firefox but showing javascript error in IE 7.0.
When I try to execute the page in IE, a file named as WebResource_4.axd file opens and there are error lines (green lines) in many of the places, not sure which line is erroneous. The tooltip says that 'Expected Expression'. I am not getting any head and tail of this file. Can anybody please help to resolve this?
Thanks
Meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
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..
|
|
|
|