|
Hi all,
Does anybody have an idea of how do we create an editable dropdownlist and shows a panel with values starting with letters the user types.I want something similar to that of a browsers address bar or the search dropdown provided by google toolbar. I cant`t use any third party control or Ajax toolkit. Is there any other option of doing this in .NET itself??
|
|
|
|
|
Why do you want Editable dd
you can do it with Textbox also put the selected text to be changed in the textbox and edit it
<l>Thanks and Regards
Sandeep
|
|
|
|
|
Sorry but u r not getting me.I want to give a textbox or a editable DD which on text changed should show a panel containing a list box with values starting from the letter typed.You can have a look at the DD provided by google toolbar.
|
|
|
|
|
HI friends
I am getting error while i am inserting record in database.
Records are aroung more than 60,000. I also tried timeout property of command object I want diff solution ....
Error Detail:
Timeout expired . Timeout period elapsed prior to completion or server is not responing
Thanks And regards
Yogesh M
|
|
|
|
|
HI,
You can try indexing your tables.
Sushant Duggal.
|
|
|
|
|
can u send me syntax for how to create index on table
|
|
|
|
|
How can i connect to any RSS feeder club ??
thks
|
|
|
|
|
Do you want to read a RSS from any website????
Websites provide RSS feed URLs. You can read the predefined tags and parse the XML data to make it useable for your application
Regards,
Sushant Duggal.
|
|
|
|
|
I want to develop a code which read the email sent at the address (upload@abc.com) and extract the picture (if any) from the email to upload it on my server.
|
|
|
|
|
i have a gridview it displays some records from database
and i added imagefield in the gridview the field does not in the database
i want to display an image in this field ,static image for all records
how can i do this?
thanks for help
MD_NADA
|
|
|
|
|
Means the image is related to database data or nothing t do with database only have to show ?
<l>Thanks and Regards
Sandeep
|
|
|
|
|
no the image not related to database
it is on folder in my project
MD_NADA
|
|
|
|
|
in your template column your image control would be there right! Just set the properties accordingly there, give your image url i.e. the folder path where the image is saved to the imageurl property of the image control.....
Gautham
|
|
|
|
|
1. How do I switch between 2 master pages for the same content page? For example: one master page for a logged in user and a different one for a visitor.
2. In a function in a code-behind page in c#, how do I navigate back one page, like in the "Back" button of the browser?
|
|
|
|
|
Ad.1
You can set the MasterPage file in PreInit event.
2. What exactly would you like to do?
|
|
|
|
|
1. Using Visual Web Developer 2005 Express Edition, how do I link a function to the PreInit event?
2. I want to create a button that does a few things, and then redirects the user to the page he was previous to the current page (could be any page).
|
|
|
|
|
1.
public partial class Default : System.Web.UI.Page<br />
{<br />
protected void Page_PreInit()<br />
{<br />
if(IsPostBack)<br />
{<br />
this.MasterPageFile = "MasterPage2.master";<br />
}<br />
}<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
<br />
}<br />
protected void Button1_Click(object sender, EventArgs e)<br />
{<br />
}<br />
}
I'm not sure that is what you are looking, but remember the ID ContentPlaceHolder in Master1 and Master2 must be the same.
2.
You can send a adres of previous page in hidden field or in viewstate or remember in session or in cache.
Sorry for my english
|
|
|
|
|
Yes, that's what I was looking for. I just have a casting problem:
I've put this line on top of the aspx page:
<%@ MasterType VirtualPath="~/MainMasterPage.master"%>
The problem is that it's good for one of the masterpages (MainMasterPage) and not for the other, and I can put only one line of this type in the page.
Without the MasterType line, when I try to do the casting in the code behind page, for example:
(UserMasterPage)this.MasterPageFile = "~/UserMasterPage.master";
Then the string on the right side of the equation should be cast to UserMasterPage. Any suggestions?
|
|
|
|
|
Hmmm
Please, describe me briefly what are you trying to do? Because it seems be a bit complicated or maybe you are trying to do very simple thing in very complicated way
|
|
|
|
|
Sir,i want to disable some of dates in a month.Disable means
particular dates should not perform any event(click event)when
u want to click on it.Actually What my intension is particular dates should behave like a labelcontrol...
Thanq for ur valuable reply to my previous questions...
Neelima
|
|
|
|
|
Neelima,
for this you need to write an event with parameters object sender and system.web.ui.webcontrol.calender... args.....
here you can check your conditions like
if(e.day.date=1....)
e.day.enabled=false..
...
basic structure, not sure of the synatx hope this works
Gautham
|
|
|
|
|
Hi
Guys i am having a problem wioth drop down list in data grid, there is horiziontal scroll with the grid when i scroll the grid down wards then the drop down list in the gird retain there position and do not move down wards with the other controls in grid such as text boxes, and the drop down lists comes in the header of the data grid, can any one let me know any solution about this , please reply ASAP, thankx in advance,
regards.
|
|
|
|
|
Hi,
We have suppose 10 aspx pages and a business class (containing business logic) and data access class.
The Business class and data access class each have multiple methods which accept more than 7-8 paramaters as input.
Now when we need to call any business class function from any aspx page which in turn will call the data access class for retrieving data, then how should be the structure of the code.
As we know we can define public properties and set property values and then instantiate an object of the class to actually call the method.
Another way is to directly pass the parameter values inline with the method call for all the methods defined in the called class.
Which approach is preferred according to OOP standards and which one to use when ? I am slightly confused regarding the OOP usage in ASP.NET domain.
Pls guide me on this.
Omkar Ghaisas
|
|
|
|
|
HI
Its nice to having different layer in the application. create a object of the class and set all varaibles by public properties and used them in function directly instead of passing them if they are not going to update in that context. If the method is going to used by many times and in different context then it is good to have method as static
<l>Thanks and Regards
Sandeep
|
|
|
|
|
how can i creat abussnies cass after making adta access class .
and waht is partial class.
and do u vahve any advises whn i use such way?
If I HaD OnE sInglE wIsh IwIll gO back for thE fIrst tIme i sEE yOu
|
|
|
|