|
That's rough, but that's the gist of it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i m not getting u what is gist?
Ch.Gayatri subudhi
|
|
|
|
|
It means I'd fire someone who wrote that code, but you've got the basic idea, you just need to make it reliable, make it work cleanly, etc.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi,
I had a Grid with hyperlink.on Click of hyperlink a child grid open,where i will save datas in a rows.On clicking SAVE the parent grid must refresh and it must reflect the values in the child grid.
Please help........
Guhananth.S
|
|
|
|
|
Do the popup as a floating div, then they will both be the same page.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I want a master page with header and content,the header and footer should not refresh ie the content part alone must refresh on click of menu items.
Please help...........
Regards
S.Guhananth
|
|
|
|
|
You should buy a book on web development and read it.
The only way to do this, is to use frames.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Your problem is not urgent than anyones
|
|
|
|
|
Here u go...
When u click the save button call the foll func which shows an alert message:
Sub Show_Saved_Msg()
Dim scp As String = "alert('Data Saved Successfully');CloseAndReload();"
ClientScript.RegisterClientScriptBlock(Me.GetType(), "script1", scp)
End Sub
and include the following javascript in your js file:
function CloseAndReload()
{
window.close();
if (window.opener && !window.opener.closed)
{
window.opener.location.reload();
}
}
But the above code works very awkwardly in ie 7. So pls check it thoroughly.
When you fail to plan, you are planning to fail.
|
|
|
|
|
hi,
Many many thanks for response.I have tried this code but It does not meet my requirement because in my parent page I have a gridview which is within a updatepannel and I fill this grid in pageload through a method of parent and same method for binding the grid view is required when i click the save button in the chield page.
thanks and regards
bikash
modified on Monday, March 16, 2009 6:14 AM
|
|
|
|
|
hello friends...
i have done it using FileUpload1.PostedFile.FileName ....
but the problem is everything is working fine in IE ....but not in mozilla...safari....
actually i want to get the full path of the selected file...not the file name only..........
thank you.....
|
|
|
|
|
|
hi..friends...thanx for respond...
but it is not related to FileUpload control....
thank you
|
|
|
|
|
What reason could you have for requiring this ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thanx for respond
i want to know about that file means...that file has from which drive/folder....that information will store in text file
thank you
|
|
|
|
|
plz tell me how to populate a dropdown list with this xml file:
countries in one dropdown,,and states in 2nd dropdown
<countries>
<country name="a">
<state>1
<state>2
<country name="b">
<state>3
<state>4
<countries>
|
|
|
|
|
sorry, use this file
aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!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 runat="server">
<title>Untitled Page</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080"
alink="#ff0000" onload="parseXML()" >
<FORM name="drop_list" method="POST" >
<SELECT NAME="Month_list">
<Option value="" >Month list</option>
</SELECT>
</form>
</body>
</html>
<script language="javascript" type="text/javascript">
function parseXML()
{
try
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
catch(e)
{
try
{
xmlDoc=document.implementation.createDocument("","",null);
}
catch(e)
{
alert(e.message);
return;
}
}
xmlDoc.async=false;
xmlDoc.load("XMLFile1.xml");
var markers = xmlDoc.getElementsByTagName("marker");
for (var i = 0; i < markers.length; i++) {
var label = markers[i].getAttribute("label");
var area = markers[i].getAttribute("area");
if(label!=null)
{
addOption(document.drop_list.Month_list, label, area);
}
}
function addOption(selectbox,text,value )
{
var optn = document.createElement("OPTION");
optn.text = text;
optn.value = value;
selectbox.options.add(optn);
}
}
</script>
XML
<?xml version="1.0" encoding="utf-8"?>
<marker>
<marker area="Melbourne1" label="burwood" />
<marker area="Melbourne4" label="cumming st" />
<marker area="Melbourne6" label="illard" />
</marker>
|
|
|
|
|
Hi There I am Filling Combo By Using WebService.I had written below Code.
function FillCombo()
{
var ddl=document.getElementById("<%=ddlRole.ClientID%>");
var UserNM=document.getElementById("<%=txtUserName.ClientID%>").value;
var Compddl=document.getElementById("<%=ddlCompName.ClientID%>");
var CompID = Compddl.options[Compddl.selectedIndex].value;
var Branchddl=(document.getElementById("<%=ddlBrnchName.ClientID%>").selected).value;
var BranchID = Branchddl.options[Branchddl.selectedIndex].value;
PayrollWebService.CheckeUserName(UserNM,CompID,BranchID,ddl,onSucess,onFailed);
////THis Is My Web Service To Which I am Passing Value
}
//////After Running Code, I am Getting Following Error
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
////////
Whats The Problem With The Code
Thanks
|
|
|
|
|
I find the easiest thing is to write a script block in your code behind such as
"var ddlRoleId = " + ddlRoleId.ClientID + " ;"
Then refer to those variables in your blocks of javascript.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I've created a web portal and i am planning to host it. I am using AsP.NET 2005 and SQL SERVER 2000
and my problem is that:
I want to know how to set the connection string in web.config file ,to be accessed by the application in a remote webserver
(in the case of local connection it's OK)
Plz help me out.
Thankx in Advance !!
|
|
|
|
|
Hi,
In web.config file ,put the server credentials in the connection string...
S Kumar
|
|
|
|
|
cud plz get me one example .
|
|
|
|
|
sample here:
add name="MapsaLoanConnectionString" connectionstring="Data Source=192.168.0.220;Initial Catalog=Mapsa;Persist Security Info=True;User ID=databaseUser;Password=123" providername="System.Data.SqlClient"
|
|
|
|