|
Hi guys how to implement file upload control in datagrid/grid template column,
I tried various types but i didnt get solution plz guide me
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
There's only one way to create a file upload control. If you're creating them dynamically, I believe you can examine the post data to find them.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
FileUpload control can be implemented in template column like other controls. When page posts, you need to iterate grid rows and use FindControl to find the upload control.
|
|
|
|
|
By using login control i can get this error
"it is an error to use a section registered as allowdefinition='MachineToApplication' beyond application level.This error can be caused by a virtual directory not being configured as an application in IIS"
self confidence+hard work=SUCCESS
|
|
|
|
|
It means what it says. You have an app.config below the app level with that tag in it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi
i displayed few records say 120 in Gridview
i can print all the records present in the gridview
but the rewuirement is
to print the selected or a range of records present in gridview
example:
i have total records 120
now from record number 20 to 30 only i need printout
is it possible
thanks in advance
vijay kumar D
|
|
|
|
|
You can't control the printer. Why is it that I have to explain this basic fact of web development, daily ? Your only option is to pop up a window that shows only the range you want to print, and then print that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi there,
How to find the textarea within a div whose id starts with some string.
For example: say there is a div, inside which there are many textareas.
now i need to find which textarea's id within this div starts with 'sometext'.
there are many div as well. but i need textareas only within this particular div.
can someone help me with javascript for this.
Thank u.
|
|
|
|
|
You can iterate over the children of a control and check the ids. Should be fairly basic, I'd have thought.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
could u please help me with the code as im new to javascript.
Thank u
|
|
|
|
|
You can use getElementsByName[^] to get all the elements contained inside the div. It returns a JS array which you can iterate.
|
|
|
|
|
could you please eleborate onthis...
i need to find all textareas under one particular div, whose id starts with some string.
for example:
<pre><div id="div1">
<textarea id="txt1">sometext</textarea>
<textarea id="txt2">sometext</textarea>
<textarea id="abcd1">sometext</textarea>
<textarea id="abcd2">sometext</textarea>
</div>
<div id="div2">
<textarea id="txt3">sometext</textarea>
<textarea id="txt4">sometext</textarea>
<textarea id="abcd3">sometext</textarea>
<textarea id="abcd4">sometext</textarea>
</div>
<div id="div3">
<textarea id="txt5">sometext</textarea>
<textarea id="txt6">sometext</textarea>
<textarea id="abcd5">sometext</textarea>
<textarea id="abcd6">sometext</textarea>
</div></pre>
say this is the code...
now i need a function where i'l pass the div id and the substring
say 'div1','txt'
then i should get textareas with id 'txt1' and 'txt2'
similarly if i pass 'div3','abcd', i should get textareas with id 'abcd5' and 'abcd6'
|
|
|
|
|
How to use onKeyUp and onKeyDown events in datagrid control uisng client side
Chandhu
|
|
|
|
|
|
Hi Jana
this is chandhu,h ow are you, i hope r u fine.
thank for reply my question.
but am using datagrid in my application it's not working keyUp & Down events to this control.
plz help me.
am waiting for ur reply.
take care
this is my id devakichandra@gmail.com
Chandhu
|
|
|
|
|
hi all
i have dropdown containing 3 items and one button
on button click i disabled the dropdown in javascript
javascript code:
document.getElementById("dropdownID").disabled=true;
Now the problem is when i select third item in drop down and disable the dropdown...on server side when i check dropdownID.selectedvalue it always give first item value.
but i dont disable dropdown then it gives correct value.
cud anyone tell me what the problem is??
thanks in advance
Jagwinder Singh
Er. Jagwinder Singh
|
|
|
|
|
Actually when we disable the droipdown it gives default value.To get the proper value it should not be disabled you have to chose another way for it.
Cheers!!
Brij
|
|
|
|
|
thanks for u reply
i have solved the problem. i just enabled the dropdrown before post back
Er. Jagwinder Singh
|
|
|
|
|
hi
i developed a website and the site is maintained in server say "server1"
and the sqldatabase and a special dll is maintained in another server say "server2" (remote server -- server is located in another place).
now a page in the site requires the object of the special dll placed in server2
i have one option for this
i.e i have to install the software in server1 which provides that special dll and from there i have to access the dll.
do any one have another option for this
plz help me
thanks in advance
Lavan Kumar M
|
|
|
|
|
Please Don't Cross Post. I am already give you the answer.
Look Here[^]
|
|
|
|
|
For the object of the speciall dll u need to add that refence to that dll.Else if it is provided as webservice then u don't need to instaal it just add as a webreference.
Cheers!!
Brij
|
|
|
|
|
I have a master page and two content pages. On the master page I have two buttons and I want to dynamically load either of the content pages depending on which button is clicked. Question 1. Do I put the button click events for the buttons in the site.master.cs file? Question 2. How do I dynamically load the different content pages from their respective click events in the .cs file?
Thanks,
Steve
|
|
|
|
|
Either just navigate to two different pages, or show two different controls in the same page.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
In the content page, You have already specified the ContentPlaceHolder name. So, you just need to open that page on button click. Page will automatically load on the content place holder of master page.
On button Click of master.cs page.
if(Cond1)
response.redirect("page1");
else
response.redirect("page2");
|
|
|
|
|
hi People,
I have one aspx page, but it will take too much time to load.
How to identify, what are the different things went to wrong.
If anybody knows please post the answer.
|
|
|
|