Folks
I have a simple web page with FileUpload Control, button "Save" to upload the file and a repeater control to display the uploaded files.
In the repeater control i have added a link Button to delete the file.
Issue: i have selected a file in the file upload control and did not clicked the button "Save".
Now i clicked delete link button in the repeater control to delete...
User Profile
Collapse
-
linkbutton in repeater control causing pageload
-
Find and open a file
Hello
I need help in finding the path of the specified file.
In my application i created an xml file and it is saved under the debug folder.
Now again i want to prompt the user to open the xml file i just created. Can someone please help me how to do this?
Thanks much -
string to Integer
Hi
I need the output as Integer value.
My textBox1 value is 3 and the output i am receiving is 33 instead of 6.
Please advise what is wrong with the below code.
Thanks
var temp=document.g etElementById(' textBox1');
alert("Int value is "+parseInt(temp .value) +3); -
Yes.
protected void GridView2_RowEd iting(object sender, GridViewEditEve ntArgs e)
{
}
At the first place when i type GridView2, it is not recognised by VS Intellisense.
Any idea??
I tried almost all the methods and no luck.
Please Advise...
Thanks -
Nested GridView cell value
We have a GridView2 in GridView1 EditTemplate.
And we have a button (commandname="U pdate") on GridView2.
When Button1 is clicked GridView1 goes into edit mode and displays GridView2.
Now when Button2 is Clicked, we want the cell[0] value of GridView2 to be displayed as Label1 Text on GridView1 and come out of the GridView1 edit mode.
Basically we want to capture gridView2 cell[0] value and display... -
problem in binding child datagrid
Hi
I am receiving Object reference not set to an instance of an Object when binding Child dataGrid in the ItemCommandEven t of Parent dataGrid.
Can someone please guide me what is wrong in the code below?
I checked the table size and it is 2. Please advise
Thanks
Code:<asp:datagrid id="DataGrid1" runat="server" Height="176px" AutoGenerateColumns="False">
-
Frinny
Thanks for the detail explanation . That did the trick.
Thanks
againLeave a comment:
-
Thank you.
But still no luck...
Is this syntax correct? Am i missing something???
Error is Attribute uid is not valid attribute of element img (see in bold below). My session variable is correct.
Code:<img alt="" onclick="window.open('http://abc.com/Home.aspx?uid='+ Session("[B]uid[/B]").ToString())"; src="../myimg.jpg" onmouseover="this.style.cursor='pointer';"
Leave a comment:
-
Yes i can retrieve it from session if it is within the same project/website.
But that is not the case with my issue.
I am working in one website http:// xyz.com
from this i am trying to open another website http:// abc.com and pass the Uid for that new website.
let me know if there are any other ways how we can pass parameters through the querystring to a totally new website/projectLeave a comment:
-
Thank you for the quick response.
This will work fine if i write the below two ways.
<img onclick="window .open(''http://abc.com/Home.aspx');" src="myimg" onmouseover="th is.style.cursor ='pointer';" />
This works but doing this means we are hard coding the uid value..
<img onclick="window .open(''http://abc.com/Home.aspx?uid=1 234');" src="myimg"...Leave a comment:
-
Javascript in user control
Hello
I have a user control which is referenced in my other pages, when clicked should open the specified URL in new window. How can i achieve this?
I have to pass uid as well
http://abc.com/Home.aspx?uid=S ession("uid")
I am trying the following
<a href="javascrip t:newWin=window .open('http://abc.com/Home.aspx?uid=\ "+Session("uid" )+"','','resiza ble=yes,width=5 67,height=300,s crollbars');">< img... -
Treeview binding subchild
I have the following tables
TableNAme Columns
emp eid,ename,sid
mastertable sid,did,sno
stu did,dname
student sno,sname
I am looking to display the tree in the following format
ename (Parent)
dname (Child)
sname (Subchild)
I... -
Bind data to winforms Treeview
Hello
Please advise ....
I do not know in which section i should be posting Winforms Questions. There is not Option. So i am posting it here... apologize for any inconvinence... ..
This is my first time working with treeview control in winforms. Can someone please help me how to bind data to winforms tree view from 3 tables. I need the out put as follows
I need the output as.
... -
ListBox issue
Hello
I have a listbox with 30 items/values and i am binding these values from database. Here is my question when 'A' is pressed automatically how can i transfer the control to the word that starts with 'A' and when 'B' is pressed control should go to the word that starts with 'B' and so on......
Please advise -
GridView RadioButtonList Values
Hello friends please advise.......
I am building an application for Survey. For this i have GridView with two Template fields. The first Template has Label (To display question text) and RadioButtonList (for options). The 2nd Template field is the primary key value. And i have a button on the form.
In the button click event i wrote code to grab RadioButtonList values.But the selected value is coming as null....PLEASE ADVISE.......Last edited by Frinavale; Feb 11 '09, 03:21 PM. Reason: Fixed [code] tags and added indentation for legibility
No activity results to display
Show More
Leave a comment: