|
try to implement it using javascript that is one of the options and i think which is recommened also
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
what are the arguments i can provide for child controls...
pavan...
|
|
|
|
|
Please elaborate a liitle more What are you trying to do ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi, I'm using Edit,update,cancel command button to edit a row in gridview. the row updating event is being fired. but the rowupdated event is not being fired. Can anybody help me out. i want to cancell edit mode in row edit mode in row updated event.
protected void gvPOD_RowUpdated(object sender, GridViewUpdatedEventArgs e)
{
e.KeepInEditMode = false;
}
|
|
|
|
|
|
i m working in asp.net2.0 version and i m generating gridview dynamically, in which i m using br tag of html but it is not working.it is working with response.write .
|
|
|
|
|
Br tag is for break it will work if it is in html content <br/>
by hte way where are you adding that tag ? that's the point can you post the code ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
some time we serialize a class data to file system and again we deserialize again.instead of file system if we want to serialize class data to sql server table and deserialize again then how can i do it........anybody can help me with sample code in detail.plzz help
tbhattacharjee
|
|
|
|
|
please anyone tell me what is XSD file in .net as a result i can explain about XSD in detail in any interview.plzz help me.
tbhattacharjee
|
|
|
|
|
XSD Files contains the XML Schema Representation of Tables. In other word we can call them as Strongly-Typed Dataset coz XSD provides type safe operation and all the methods, properties, events are defined and also it provides an excellent way to access the tables and columns using the names. In N-Tire .NET applications these XSD's are used to pass Data between the Layers. We can keep all the DataDefinition of the Database Tables in the XSD Files.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi all! I'm coding a Web application. I used a treeview. I want to bind data from database into Treeview and everytime i click on Treenode then Information about treenode(such as a forder) is binded into a gridview. Thanks so much!
|
|
|
|
|
i made a multiline tooltip that appears when the mouse over a link
this tooltip is a div element , i have multiple links and i need to set the text of the div element
according to the link under the mouse which means that i must change the div text dinamically
can any body help me??
|
|
|
|
|
Yes make that div tag runat server and give proper id
Now you can access that div at server side can do anything with it at runtime ...
But why are you using div tag for tool tip? use anchor tag and make run at server or you have asp.net Hyperlink control in that you have tool tip property
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i need multiline tooltip that can contain table
so i used the div element
the control of the apperance of the div element is by javascript function that showa and hide the div element
depending on mouse position, i need to change the text of the div element using the javascript function not in the run time
can you help me?
regards
|
|
|
|
|
you can change it in javascript first see the source code of your page and check which is the property of div tag for tool tip make such changes in div by
document.getElementById('DivtagId').PrpertyName='New tool tip';
Not sure but check it will work i think
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
sorry i tried that but it does not work
thanx
|
|
|
|
|
sorry i tried that but it does not work
thanx
|
|
|
|
|
Can you post the code how are you displaying the div tag i.e aspx page ? if then i could help you
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="MyFavorites.aspx.vb" Inherits="MyFavorites" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
<link rel="stylesheet" href="StyleSheet.css" type="text/css" runat="server" id="stylesheet" />
<script type="text/javascript" language="javascript" >
function toggleAllCheckboxes(rowsCount)
{
var idsIndex = 0
var mainCheckBox = document.getElementById('ChkBxRemoveAll')
for (idsIndex=1;idsIndex<=rowsCount;idsIndex=idsIndex+2)
{
if(idsIndex<10)
{
var checkBox = document.getElementById('ctl0'+idsIndex)
if (mainCheckBox.checked == true)
{checkBox.checked = true}
else
{checkBox.checked = false}
}
else
{
var checkBox = document.getElementById('ctl'+idsIndex)
if (mainCheckBox.checked == true)
{checkBox.checked = true}
else
{checkBox.checked = false}
}
}
}
//*****************************************************************
function UnCheckMainCheckBox(rowsCount)
{
var idsIndex = 0
var mainCheckBox = document.getElementById('ChkBxRemoveAll')
for (idsIndex=1;idsIndex<=rowsCount;idsIndex=idsIndex+2)
{
if(idsIndex<10)
{
var checkBox = document.getElementById('ctl0'+idsIndex)
if (checkBox.checked == false)
{mainCheckBox.checked = false}
}
else
{
var checkBox = document.getElementById('ctl'+idsIndex)
if (checkBox.checked == false)
{mainCheckBox.checked = false}
}
}
}
//*****************************************************************************
function xstooltip_findPosX(obj)
{
var curleft = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curleft += obj.offsetLeft
obj = obj.offsetParent;
}
}
else if (obj.x)
curleft += obj.x;
return curleft;
}
//******************************************************************************
function xstooltip_findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
while (obj.offsetParent)
{
curtop += obj.offsetTop
obj = obj.offsetParent;
}
}
else if (obj.y)
curtop += obj.y;
return curtop;
}
//*******************************************************************************
function xstooltip_show(tooltipId, parentId, posX, posY)
{
it = document.getElementById(tooltipId);
if ((it.style.top == '' || it.style.top == 0)&& (it.style.left == '' || it.style.left == 0))
{
// need to fixate default size (MSIE problem)
//it.style.width = it.offsetWidth + 'px';
//it.style.height = it.offsetHeight + 'px';
link = document.getElementById(parentId);
// if tooltip is too wide, shift left to be within parent
//if (posX + it.offsetWidth > link.offsetWidth) posX = link.offsetWidth - it.offsetWidth;
if (posX < 0 ) posX = 0;
x = xstooltip_findPosX(link) + posX;
y = xstooltip_findPosY(link) + posY;
it.style.top = y + 'px';
it.style.left = x + 'px';
}
it.style.visibility = 'visible';
it.InnerText = "asfasfasdf"
}
//*********************************************************************************
function xstooltip_hide(id)
{
it = document.getElementById(id);
it.style.top ='';
it.style.left = '';
it.style.visibility = 'hidden';
}
</script>
</head>
<body style="color: #000000">
<form id="form1" runat="server">
<div id="tooltip" class="xstooltip" style="background:red; color:white " >
</div>
<div>
</div>
<table border="0" cellpadding="0" cellspacing="0" style="background-color: #ffffff" width="1290">
<tr>
<td style="width: 1290px">
<table width="1290" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 1290px; height: 80px;">
<div>
<table width="1290" border="0" cellspacing="0" cellpadding="1" style="background-color:#000000">
<tr>
<td colspan="" style="width: 1290px">
<table width="1290" border="0" cellspacing="0" cellpadding="0" style="height:40; background-color:#ffffff">
<tr>
<td class="Color1" style="width:10px ; color:#000000; background-color: #035cae; height: 45px;">
</td>
<td class="Color3" style="color:#000000; width: 400px; vertical-align: bottom; text-align: left; background-color: #f5f5f5; height: 45px;" valign="baseline"><h3 style="vertical-align: middle; text-align: left">
<div style="z-index: 101; left: 40px; width: 384px; position: absolute; top: 40px;
height: 24px">
<asp:HyperLink ID="HyperLink1" runat="server" Font-Names="Arial" Font-Size="Medium"
Font-Underline="False" NavigateUrl="~/Search.aspx">Online Job Application</asp:HyperLink>
<asp:Label ID="Label1" runat="server" Text=":My Favorite Applications" Font-Bold="False"></asp:Label></div>
</h3>
</td>
<td class="Color2" style="width: 6px; background-color: #ffcc00; height: 45px;"><div style="text-align:center"></div>
</td>
<td class="Color1" style="width: 150px; background-color: #035cae; height: 45px;"><div class="text1" style="text-align:left">
<div style="z-index: 102; left: 1112px; width: 200px; position: absolute; top: 40px;
height: 32px">
<asp:HyperLink ID="HyperLink3" runat="server" CssClass="styleSheet.links1" Font-Bold="True"
Font-Names="Arial" Font-Size="X-Small" Font-Underline="True" ForeColor="White"
NavigateUrl="~/Search.aspx">Search Applications</asp:HyperLink>
|
<asp:HyperLink ID="HyperLink4" runat="server" CssClass="styleSheet.links1" Font-Bold="True"
Font-Names="Arial" Font-Size="X-Small" Font-Underline="True" ForeColor="White"
NavigateUrl="~/AddEdit.aspx">Add/Edit Jobs</asp:HyperLink></div>
<span style="color: #ffffff"> </span>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td style="width: 1290px; height: 87px;">
<table width="1290px" border="0" cellspacing="0" cellpadding="0">
<tr style="background-color: #035cae">
<td class="text1" colspan="9" style="height: 31px; background-color: #3399cc; text-align: left">
<asp:Button ID="Button1" runat="server" Font-Bold="True"
Height="26px" Text="Remove" Width="80px" /></td>
</tr>
<tr style="background-color:#035cae">
<td class="text1" style="width: 25px; height: 24px; text-align: left">
<asp:CheckBox ID="ChkBxRemoveAll" runat="server" style="text-align: center" Width="24px" AutoPostBack="True" />
</td>
<td class="text1" style="height: 24px; width:90px; text-align: left;">
<div style="text-align:left; color:#ffffff">
<strong> Date of<br />
Selection</strong></div>
</td>
<td class="text1" style="height:24px ;width:175px; color:#ffffff; text-align: left;"><b> Applicant Name</b></td>
<td class="text1" style="width: 175px; color: #ffffff; height: 24px; text-align: left">
<strong> Job Position</strong></td>
<td class="text1" style="height: 24px;width:520px; color:#ffffff; text-align: left;"><b> Skills</b></td>
<td class="text1" style="width: 90px; color: #ffffff; height: 24px; text-align: left">
<strong>Date of Submition</strong></td>
<td class="text1" style="height:24px ;width:85px; vertical-align: middle; text-align: center; direction: ltr; line-height: normal;" valign="middle">
<div style="text-align:left;color:#ffffff"><b style="direction: ltr"> Status</b></div>
</td>
<td class="text1" style="height:24px ;width:65px; text-align: center;">
<div style="text-align:left;color:#ffffff"><b> Mark</b></div>
</td>
<td class="text1" style="height:24px ;width:65px; text-align: center;">
<div style="text-align:left;color:#ffffff"><b> Rank</b></div>
</td>
</tr>
</table>
<asp:Panel ID="Panel1" runat="server" Height="600px" ScrollBars="Vertical" Width="1290px">
<asp:Table ID="Table1" runat="server" Width="1290px" cellspacing="0" cellpadding="0">
</asp:Table>
</asp:Panel>
</td>
</tr>
<tr>
<td style="width: 1290px; height: 59px;">
<table width="100%" border="0" cellspacing="0" cellpadding="1" style="background-color:#000000">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="Color1" style="width:10px; height: 19px; background-color: #035cae;"> </td>
<td class="Color3" style="width:10px; height: 19px; background-color: #f5f5f5;"> </td>
<td class="Color3" style="width:350px; height: 19px; background-color: #f5f5f5;">
<div style="text-align:left; color:#ff0000" class="text1"></div>
</td>
<td class="Color3" style="width:210px; height: 19px; background-color: #f5f5f5;">
<div style="text-align:center; background-color: #f5f5f5;"> </div>
</td>
<td class="Color2" style="width:6px; height: 19px; background-color: #ffcc00;"> </td>
<td class="Color1" style="width:123px; height: 19px; background-color: #035cae;"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
|
|
|
|
|
Sorry but which are the div tags which you are using as tool tip i am confused
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
visit this link.AjaxPro.
best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Maybe you can do it like this:
document.getElementById('DivtagId').innerText='New text';
or
document.getElementById('DivtagId').innerHTML='New text';
|
|
|
|
|
hi to all
i want to use radio button in gridview
but there should be selection of only one radion button at a time
and i want to call a function on radio button selection
plz help me some
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
hope you can use the same Javascript used in this article for single radiobutton selection.
Radio Button Single Selection[^]
call the javascript on the onclick event of the radiobuttons.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hai All,
How can we find the page size (.aspx)And
Is there are any tools and
in visual source safe how we find the
size of the page which isrunning..any
options available in vss?
and also i just want to know how should we improve the performance of the website (exclude of Stored procedure)?
Thanks
Subbu.
|
|
|
|