|
thank you evry much but i'm using a gridview , can the same code work ?
also i want to ask you abt that .controls(1) what that mean ?
try to be good if you can't be the best
|
|
|
|
|
hi mohammed,
i don't check it with gridview. but i think it will work.
Controls(1) means first control in the cell 0
Thomas
|
|
|
|
|
You can do same same with the Rows[^] property of the gridView control.
|
|
|
|
|
hey man i tried with .controls(0) & it doesn't work
but with .controls(1) it worked what mean that (1) ? & what is a literalcontrol ?
an other thing !! in the 'your code part i want to write something to select that row but i didn't find a select methode or somthing , when i did row.selectedindex = intindex it doesn't work !!
any idea ?
-- modified at 6:11 Thursday 27th July, 2006
|
|
|
|
|
Hi ,
I have created a page which basically parses a xml file and populates the page accordingly .Now
the problem is inorder to provide more flexibiliy i need to allow any page to inherit this base page,but on inheriting the class and executing it the base page controls are not visible.I undestand it cant be done by that way.Then pls suggest a solution.I doubt the same can be done with master page.
Thanks in advance,
|
|
|
|
|
Master Page would be your choice.
|
|
|
|
|
hi
how to create a cs Class for XSD.
kamalnath
|
|
|
|
|
|
I have two drop down in a datagrid.What i want when i select an item from the first the second one should be populated accordingly.My problem is i have created an event handler for the first drop down but how do i call the second drop down to populate
|
|
|
|
|
You can call a function on OnSelectedIndexChanged event of the dropdownlist and in that event you can populate another dropdownlist. Are you getting any problem in this?
Best Regards,
Apurva Kaushal
|
|
|
|
|
how do i cal the second drop down that is the problem .How do i identify the control which is inside a datagrid
|
|
|
|
|
You have to iterate through all the items of the datagrid and then you can find the other dropdown list(findcontrol method) and populate that.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi friends,
How to pass the space (" ") in Request.QueryString in ASP.NET.
In my Application i am passing the path of the folder through Querystring. But if the name of the folder consists two words inbetween space it gets only the first word and check for that folder and says Directory Not Found Exception.
Please Help.
Thanks & Regards
Prya
|
|
|
|
|
|
the other issue you might run across is illigal characters in that file.
Since its a small item you'd be better off store that is a session or cache
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
Hi, I have a asp .net application. In the application I attempt to start a thread from globals "Application_start" method. My problem is that the start page never fully loads and the secondary thread fails on a specific line but it gives me no indication as to which one. Thus I get the message "Server Unavailable". Is this a case of deadlock? or do you need to apply threads differently in asp .net.
cheers
Mike
|
|
|
|
|
Well, I'm not sure of the specific problem, but here are a couple of links to some excellent articles on threading in ASP.NET. Perhaps you've already read them, but if not, they're good reads:
http://msdn.microsoft.com/msdnmag/issues/05/10/WickedCode/
http://msdn.microsoft.com/msdnmag/issues/03/06/Threading/
You might consider turning on tracing just calling the failing code synchronously until you can determine which line is causing the error.
|
|
|
|
|
Hi all,
greetings.In my application i've to bound data with a dropdown list with our any data source control.That by coding i've to bound.Here i'm using C#.Can anyone tell me the coding for the binding of data with DDL.
Thanks in Advance
Babu
|
|
|
|
|
This sort of questions can be quickly answered by MSDN:
DropDownList[^]
|
|
|
|
|
Hi,
I have two frames, Frame1 and Frame2.I have some buttons in Frame1 and on click of those buttons i want a new page to be displayed in the Frame2.
On the button click, i am using Response.Redirect("abc.aspx") but the page gets opened in the Frame1 itself and not on Frame2.Please tell me how to specify the target using Response.Redirect.So that on any button click present in Frame1, the page gets opened in Frame2.
It's very urgent.
Thanks,
Riz
Riz
|
|
|
|
|
Response.Redirect method cannot help in this case as it redirects the new page in the current frame. You need to use javascript to get reference to the second frame and load the new page with the src attribute, google can quickly find you the sample script.
|
|
|
|
|
Hi,
Thanks for the reply, it wud be very nice if u cud give me a small example of it.Some small piece of code.
Waiting for ur reply.
Thanks,
Riz
Riz
|
|
|
|
|
|
maybe try frame2.document.location.href = 'http://www.codeproject.com';
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
I have a page lists many files that allow user to download. User can choose files by checkbox that just right beside the files name. When a user click Download button, all the choosed files have been zipped to a single zip file and a download prompt winodw shows up immideatly and the user can choose a folder to save the file. The download times for each file has been updated into the database. All above processes have been implemented.
Because inside the download function, I use the following statement.
Response.Flush()
Response.Close()
Response.End()
So even I call my update function to refresh the page, it wouldn't work. However, I think the requirement is really fair. After user download spcific files, the download times update and rendered at the same time.
My question is after the zip file has been saved locally, how to refresh(post) the page to show the download times.
Thanks,
|
|
|
|