|
I think You should bind "R1_ItemDataBound" event on the ItemDataBound of the repeater control.so that dropdownlist will get populated for each item in the repeater control.
You made a mistake by binding "R1_ItemDataBound" to the OnItemDataBound of the DropDownList "ddl"
Regards
John
-- modified at 9:31 Monday 13th August, 2007
|
|
|
|
|
|
Hello all,
I am working on ASP.net 2005 web developer edition. I am unable to switch to design view. i tried by right clicking on the aspx page but there the design view is disabled. Please help me to find out the problem.
Thanks in Advance
Bharath.S Ron
|
|
|
|
|
Is there any error displaying when you right click and select view designer?
If yaa then first solve it and then try.
Otherwise I don't know.
Naresh Patel
|
|
|
|
|
Hi,
I want to do a bulk insert of around 25k records into sqlserver databse .
I am using asp.net1.1
thanks
|
|
|
|
|
rajmani wrote: I want to do a bulk insert of around 25k records into sqlserver databse .
for(int i=0;i<=YourValue;i++)
{
}
|
|
|
|
|
Hi!
how can i Foucs on a Text Box using javascript?
|
|
|
|
|
document.getElementByid("TextBoxID").focus();
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
We usually do something like this:
<script><br />
<br />
function LoadFocus(){<br />
<br />
document.getElementById('<%= <TextBoxName>.ClientID %>').focus();<br />
document.getElementById('<%= <TextBoxName>.ClientID %>').select();<br />
<br />
}<br />
<br />
window.attachEvent("onload", LoadFocus);<br />
<br />
}<br />
<br />
</script>
This will work for IE, but not sure about attachEvent for ff...would have to check if required.
|
|
|
|
|
daniel__c wrote: document.getElementById('<%= .ClientID %>').select();
Why do we need to do that?
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Sorry, that should be
document.getElementById('<%= <TextBoxName>.ClientID %>')
not
document.getElementById('<%= .ClientID %>') as originally posted.
We usually do the .select() to select any text that is currently in the text box. You can do the focus alone, but the select tends to be a bit more user friendly.
|
|
|
|
|
Hi everyone,i'm a NOOB in asp.net and am stuck with a problem. so please, Please don't laugh at me.
right now, i'm working on a project which requires me to select several data from the database, then display all in 1 cell. how do i achieve that?
is it possible to keep the selected data in an array and display the array?
http://i4.photobucket.com/albums/y138/veracia/ideal.jpg
this will be my ideal outcome.
all answers and comments and help appreciated!
thanks!
veracia
|
|
|
|
|
Table Cell or Grid Cell ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
table cell
oh yes, i'm using sql server and VS2005.
|
|
|
|
|
Create lable control at run time add it into cell of table liek.
Get specified cell where u want to add.
Lable obj=new Lable();
obj.Text=Record('field1);
Cell.controls.add(obj);
Lable Obj2=new Lable();
obj2.Text =record("field2");
Cell.controls.add(obj);
...........
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi, thanks for your prompt reply.
However, I get the error "Record" doesn't exist in the current context.
|
|
|
|
|
I am using datalist control and want to perform paging for the data source..How to perform it
|
|
|
|
|
|
hi all,
I used Below methods but I am not getting visitors IP.It always shows internal IP.My server having Secure Socket Layer.
Request.ServerVariables("HTTP_X_FORWARDED_FOR") //return empty
Request.ServerVariables("REMOTE_ADDR") //got my internet IP
Request.UserHostAddress //got my internet IP
I dont know how to solve this.Is SSL is hiding the visitor IP? When I set deny access IP address in IIS it is working.Actually I want to put access using the visitor IP.How to do this.
Pls advice
Thanks in Advance.
|
|
|
|
|
Hello
VS 2005
I have a web serivce and created the MSI websetup project. Its just a simple web service. However, when i run the setup i get this following message. I can understand that file or reference to a file is missing. but I can't understand what file it is, and how to find out what file it is looking for.
Exception occurred while initializing the installation
System.IO.FileNotFoundException: could not load file or assembly.
file:///C:\Windows\System32\Software\myProject\PC1\ or one of its dependencies. The system cannot find the file specified.
Many thanks for any suggestions,
Steve
|
|
|
|
|
What you can do is that you can check the reference node in Solution explorer to know how many assemblies are using in your webserice.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
dear guys,
Message:-
"Deleting is not supported by data source 'SqlDataSource1' unless DeleteCommand is specified."
Question ?
how can I set the delete command such that when I click on specific row it deleted from the Database, in other word I want the delete command to be daynamic ?????
thanks in advance..
|
|
|
|
|
aziz_subaie wrote: how can I set the delete command
There is one property called "Delete Query" in SqlDataSource. You can set the delete command there.
aziz_subaie wrote: daynamic
More : Inserting, Updating, and Deleting Data with the SqlDataSource[^]
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
Or register the Deleting event of the SqlDataSource and set the query there.
-^-^-^-^-^-
no risk no funk ................... please vote ------>
|
|
|
|
|
thanks to you all that was helpful
|
|
|
|