|
That is what I ended up doing. THanks though for responding!
~Candi
|
|
|
|
|
Hi, I have 2 projects A and B. Both of them depends eachother. (A->B and B->A)
How can i solve this circular dependency?
But im asking a solution, without adding another project.
Does anyone have an idea how to solve this?
thanks.
|
|
|
|
|
You have 3 choices.
Move all shared code to project A.
Move all shared code to project B.
Move all shared code to a new project.
Pick your poison.
I didn't get any requirements for the signature
|
|
|
|
|
So, except these solutions, can not i solve this problem?
|
|
|
|
|
I would have thought that the answer given was common sense, and it's common sense that these are the only solutions.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: I would have thought that the answer given was common sense
It has frequently been reported that common sense isn't very common.
|
|
|
|
|
Sure as hell doesn't show up in this forum too often....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
This implies there is something worng with your model and you either need another project or A&B sould be merged into the same project.
|
|
|
|
|
Hi all,
Let me first tell u wat I am trying to do.I have created a webpage with a button.On the click of that button(html control)I am opening a new window (as a popup).Now in this new child window I have some text boxes.I enter data in those textboxes and when I click a button,I want them to be sent to the parent window without the initial content of the parent window getting lost.Please suggest me a way to do so.I have been trying javascript but to no avail.Please help me out.
|
|
|
|
|
in your popup window:
function OnSomethingClick()
{
var el = window.opener.document.getElementById('SomeLabelOrOther');
el.innerText = "Something else";
window.close();
}
This works for IE... havent tested with FF yet. Will do in a minute.
Just did. Doesn't work in FF.
var question = (_2b || !(_2b));
|
|
|
|
|
Well thanx for helping me out.I m just gonna try this code.Anyways,can I try something like this?:
el.innerText=document.getElementById('Something').value;
It is because I need to pass a textbox value from child to parent.
|
|
|
|
|
Thanx for ur help...It works !!!
|
|
|
|
|
Hi again,
It is working on simple pages but it is not working when I use master pages.Seems to be a problem.Please help me out.
I tried it without master pages and it was working fine,but when I am implementing it using master pages,it isnt working.
|
|
|
|
|
Good Afternoon guys
Is it Possible in a Gridview to Disable a Cell like a button ?
I have been Googling for this but no luck
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
What is the content of that cell?
|
|
|
|
|
Its a String Value
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Vuyiswa Maseko wrote: Its a String Value
Well, then what is there to disable? All you can do is change the color so that it looks like disabled.
|
|
|
|
|
The property exists, so the short answer is yes.
|
|
|
|
|
Can you give me an example?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
For example: In the RowDataBound Event of the Gridview, e.Row.Cells(2).Enabled = False disables the cell in the third column of the GridView.
Just add your logics...
|
|
|
|
|
Its an Honor to be helped by you guys. Thank you for being there. i think am at the end of my Problem, This is the method that setup the Grid.
protected void setupGrid()
{
if (((int)Session["numCycles"]) > 0)
{
UltraWebGrid cycleGrid = ultraGridCycles;
int numCols = 0;
int numRows = 0;
if (((int)Session["numCycles"]) >= 13)
{
numCols = 13;
}
else
{
numCols = ((int)Session["numCycles"]);
}
if ((((int)Session["numCycles"]) % 13) == 0)
{
numRows = (int)(((int)Session["numCycles"]) / 13);
}
else
{
numRows = (int)((((int)Session["numCycles"]) / 13) + 1);
}
cycleGrid.Height = Unit.Pixel(20 * numRows + 6);
for (int i = 0; i < numCols; i++)
{
UltraGridColumn col = new UltraGridColumn(true);
col.Width = Unit.Pixel(10);
col.Key = i.ToString();
cycleGrid.Columns.Add(col);
}
for (int i = 1; i <= numRows; i++)
{
UltraGridRow row = new UltraGridRow(true);
row.Key = i.ToString();
for (int j = 1; j <= numCols; j++)
{
UltraGridCell cell = new UltraGridCell(true);
cell.Style.HorizontalAlign = HorizontalAlign.Center;
cell.Style.Padding.Left = 0;
cell.Style.Padding.Top = 0;
cell.Style.Padding.Bottom = 0;
cell.Style.Padding.Right = 0;
cell.Value = (int)((13 * (i - 1)) + j);
if (((13 * (i - 1)) + j) > ((int)Session["numCycles"]))
{
cell.Value = null;
}
UltraGridCell Cell = new UltraGridCell(true);
row.Cells.Add(cell);
ArrayList arr = (ArrayList)Disable_Grid();
foreach (String s in arr)
{
row.Cells.RemoveAt(Convert.ToInt32(s));
}
}
}
}
}
Now the bolded Code is the One that will remove the Cell when it matches the variable "s". So now line
row.Cells.RemoveAt(Convert.ToInt32(s));
remove All the the cells. At the End the Variable "s" will contain a int value of 4, but it will not remove only it, but it will remove other 3 Cells.
I want to remove only the cell with a value "4"
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Good Day friends
I would like to take this chance and thank you guys for helping me resolve the Current Problem. I was using Infragestic Controls and had a hard time using them. But with people like you online I made it. You are stars and you deserve ratings.
Thank you,
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
How IsPostBack is working. the following is my code in Page_Load event. every time when i click on this page link or when i refresh this page it is calling bindData(); function.
if (!IsPostBack)
{
bindData();
}
|
|
|
|
|
IsPostBack will return TRUE when the page has posted back. It will return FALSE if it is a normal refresh.
|
|
|
|
|
so will it work always. my problem is , all the pages i have home page link. when i click the Home Page Link from the other pages also again it is calling the function written inside if(!IsPostBack).
The Page_Load event function is in Home Page. How can i avoid always calling the function.
|
|
|
|